summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/on-lock2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/on-lock b/bin/on-lock
index d7ee1f5..3de3724 100755
--- a/bin/on-lock
+++ b/bin/on-lock
@@ -3,4 +3,4 @@
sudo -K
ssh-add -D
echo RELOADAGENT | gpg-connect-agent
-rbw lock
+type rbw >/dev/null 2>&1 && rbw lock