summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-08-03 19:50:08 -0400
committerJesse Luehrs <doy@tozt.net>2022-08-03 19:50:08 -0400
commit2f9c128c1e8a81efdbb858e38e8029a50b1d0753 (patch)
treecfdc83661a1bb7e163c1f8b6c133366a93e6f43e /bin
parent04f072cad5a22e16b27818b480bdf562ad755cc8 (diff)
downloadconf-2f9c128c1e8a81efdbb858e38e8029a50b1d0753.tar.gz
conf-2f9c128c1e8a81efdbb858e38e8029a50b1d0753.zip
only lock rbw if it is installed
Diffstat (limited to 'bin')
-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