bw password muckery

This commit is contained in:
Daniel Lundin 2019-10-19 12:36:29 +02:00
parent d25dd29b65
commit 9a7fe73014
4 changed files with 47 additions and 5 deletions

View file

@ -1,11 +1,13 @@
#!/bin/bash
set -eu
AUTO_LOCK=900
AUTO_LOCK=3600
BW_SESSION=
exit_error() {
echo "$2"
keyctl purge user bw_master || true
keyctl purge user bw_session || true
exit "$1"
}