*.sh: move "|| :" outside subshell
commit002d3cbfcbdd7693497743d9a6e744e1e00a454e
authorKyle J. McKay <mackyle@gmail.com>
Wed, 8 Nov 2017 23:55:07 +0000 (8 15:55 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 8 Nov 2017 23:55:07 +0000 (8 15:55 -0800)
treef3d60496bf216b5bb84f072fc2eb31efe8b2d2b2
parent691beb42d0a17c4e2ff86fda9959a063396b8572
*.sh: move "|| :" outside subshell

Under some circumstances some shells mishandle this
construct:

    $(foo || :)

They produce the wrong result code.  Avoid this
problem by moving the "|| :" part outside of the
subshell (which works properly everywhere) like so:

    $(foo) || :

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
install.sh
jailsetup.sh
jobd/combine-packs.sh
jobd/gc.sh
jobd/update.sh
shlib.sh
taskd/clone.sh
taskd/mail.sh