diff --git a/dot_bin/executable_with_gpg_mount b/dot_bin/executable_with_gpg_mount index f0a5b57..d864304 100644 --- a/dot_bin/executable_with_gpg_mount +++ b/dot_bin/executable_with_gpg_mount @@ -7,5 +7,8 @@ shift alias="gnupg" -rofi-dev -c "$XDG_CONFIG_HOME/rofi/devices.yml" -m "$alias" \ - && "$bin" "$@" || echo "Could not mount $alias" +if rofi-dev -c "$XDG_CONFIG_HOME/rofi/devices.yml" -m "$alias"; then + "$bin" "$@" +else + echo "Could not mount $alias" +fi