mac-wipe: fix syntax error for argument comparison

This commit is contained in:
Tobias Mueller 2023-10-17 22:02:04 +02:00
parent 9466707119
commit a0fad3a833
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ cp -a "$tmpdir/client.db" /etc/oui-tertf/client.db
umount -t tmpfs -l "$tmpdir"
if [ $1 == "restart" ]; then
if [[ "$1" == "restart" ]]; then
logger -p notice -t blue-merle-mac-wipe "Restarting tertf..."
/etc/init.d/gl-tertf start
logger -p notice -t blue-merle-mac-wipe "... Finished"