summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-05-16 06:35:03 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-05-16 06:35:03 +0200
commit5acfacf76f22948e50aad35557ca67dc54a343df (patch)
treea4c5d8ea76aa69c4ec8549a992941f1ca6c94ea0 /bin
parente1b9863683a9f4ec791ba462175f6d3c17b35da9 (diff)
cleanup
Diffstat (limited to 'bin')
-rwxr-xr-xbin/guiscripts/keyadd4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/guiscripts/keyadd b/bin/guiscripts/keyadd
index 5962e07..53475dc 100755
--- a/bin/guiscripts/keyadd
+++ b/bin/guiscripts/keyadd
@@ -22,8 +22,8 @@ elif ! ssh-add -l | grep -q "$(ssh-keygen -lf $HOME/.ssh/$key)"
then
export SSH_ASKPASS="passvar"
export PASSWORD="keys/fl/ssh/$key"
- ssh-add - < $HOME/.ssh/$key
- notify-send "$0" "added <b>$key</b>"
+ ssh-add - < $HOME/.ssh/$key &&
+ notify-send "$0" "added <b>$key</b>"
else
die "key already added."
notify-send "$0" "key already added."