]> git.proxmox.com Git - pve-common.git/commitdiff
fix bug #264: use option pipefail for shell commands
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 29 Oct 2012 08:45:50 +0000 (09:45 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 29 Oct 2012 08:45:50 +0000 (09:45 +0100)
Normal unix shell pipe return the exits status of the last command.
If pipefail is enabled, the pipeline's return status is the value of
the last  (rightmost)  command to  exit  with a non-zero status, or zero
if all commands exit successfully.


No differences found