From: Fabian Grünbichler Date: Tue, 24 May 2016 08:28:35 +0000 (+0200) Subject: remove duplicate 'set -o pipefail' X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=1a0c010327d130c5a7cfb1fe588602184df2cc38 remove duplicate 'set -o pipefail' --- diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index b49a68d..58a2006 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -314,7 +314,7 @@ sub run_command { $cmdstr .= $pipe . join(' ', map { ref($_) ? $$_ : shellquote($_) } @$command); $pipe = ' | '; } - $cmd = [ '/bin/bash', '-c', "set -o pipefail && $cmdstr" ]; + $cmd = [ '/bin/bash', '-c', "$cmdstr" ]; } else { $cmdstr = cmd2string($cmd); }