From: Dan Mick Date: Thu, 16 Feb 2017 04:08:31 +0000 (-0800) Subject: qa/workunits/objectstore/test_fuse.sh: allow failure X-Git-Tag: v12.0.1~362^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce5d375e61ab4482648a6ad69010d79497fd27c4;p=ceph.git qa/workunits/objectstore/test_fuse.sh: allow failure This script currently has a syntax error, but still exits with success, which is hiding that failure. Expose it by allowing the 'sudo' exit code to be the script's exit code. Signed-off-by: Dan Mick --- diff --git a/qa/workunits/objectstore/test_fuse.sh b/qa/workunits/objectstore/test_fuse.sh index 71d0595e6ba9..da42a4cb5590 100755 --- a/qa/workunits/objectstore/test_fuse.sh +++ b/qa/workunits/objectstore/test_fuse.sh @@ -2,7 +2,7 @@ if ! id -u | grep -q '^0$'; then echo "not root, re-running self via sudo" - sudo PATH=$PATH TYPE=$TYPE $0 || echo FAIL + sudo PATH=$PATH TYPE=$TYPE $0 exit 0 fi