aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xssh-agent-loadkey5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh-agent-loadkey b/ssh-agent-loadkey
index d3a6d37..b6fefb1 100755
--- a/ssh-agent-loadkey
+++ b/ssh-agent-loadkey
@@ -95,7 +95,10 @@ function __load {
# UX
if [ "$?" == "0" ]; then
if which awesome-client &> /dev/null; then
- echo "naughty.notify({title = \"SSH:\", text =\"Loaded $HANDLE ($TYPE)\", timeout = 2})" | awesome-client
+ echo "naughty.notify({title = \"SSH:\", text =\"Loaded $HANDLE ($TYPE)\", timeout = 2})" | awesome-client &> /dev/null
+
+ # Cancel the last command exit status in casa awesome is not available
+ true
fi
fi
}