diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-08-03 19:50:08 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-08-03 19:50:08 -0400 |
commit | 2f9c128c1e8a81efdbb858e38e8029a50b1d0753 (patch) | |
tree | cfdc83661a1bb7e163c1f8b6c133366a93e6f43e /bin | |
parent | 04f072cad5a22e16b27818b480bdf562ad755cc8 (diff) | |
download | conf-2f9c128c1e8a81efdbb858e38e8029a50b1d0753.tar.gz conf-2f9c128c1e8a81efdbb858e38e8029a50b1d0753.zip |
only lock rbw if it is installed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/on-lock | 2 |
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 |