We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e7366 commit fe7f926Copy full SHA for fe7f926
run-afs.sh
@@ -17,7 +17,7 @@ kstartpid=$(mktemp /tmp/backup-ng-k5start.XXXXXXXXXX)
17
kstartret=1
18
19
while [ $kstartret -ne 0 ]; do
20
- $((
+ (
21
flock --exclusive 200
22
k5start -f /etc/daemon.keytab -u daemon/sql.mit.edu -t -K 15m -l6h -b -p "$kstartpid" || exit 1
23
# If we get here, we're under both the lock and the k5start
@@ -33,7 +33,7 @@ while [ $kstartret -ne 0 ]; do
33
# Okay, we're all done. Kill k5start
34
kill -TERM $(cat "$kstartpid")
35
exit 0
36
- ) 200> /var/lock/backup-ng.lock)
+ ) 200> /var/lock/backup-ng.lock
37
kstartret=$?
38
done
39
0 commit comments