Skip to content

Commit fe7f926

Browse files
anderskachernya
authored andcommitted
run-afs.sh: Remove redundant $(…)
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 01e7366 commit fe7f926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-afs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ kstartpid=$(mktemp /tmp/backup-ng-k5start.XXXXXXXXXX)
1717
kstartret=1
1818

1919
while [ $kstartret -ne 0 ]; do
20-
$((
20+
(
2121
flock --exclusive 200
2222
k5start -f /etc/daemon.keytab -u daemon/sql.mit.edu -t -K 15m -l6h -b -p "$kstartpid" || exit 1
2323
# If we get here, we're under both the lock and the k5start
@@ -33,7 +33,7 @@ while [ $kstartret -ne 0 ]; do
3333
# Okay, we're all done. Kill k5start
3434
kill -TERM $(cat "$kstartpid")
3535
exit 0
36-
) 200> /var/lock/backup-ng.lock)
36+
) 200> /var/lock/backup-ng.lock
3737
kstartret=$?
3838
done
3939

0 commit comments

Comments
 (0)