diff --git a/setup.sh b/setup.sh index 15a8cae..f54fc6b 100755 --- a/setup.sh +++ b/setup.sh @@ -33,7 +33,7 @@ if have fossil; then fi gpg_key="7395312F" - if $gpg --list-secret-keys $gpg_key &>/dev/null; then + if $gpg --list-secret-keys $gpg_key >/dev/null 2>&1; then fossil set --global pgp-command \ "$gpg -u $gpg_key --clearsign -o" fossil set --global clearsign 1