summaryrefslogtreecommitdiffstats
path: root/network/kismet/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/kismet/doinst.sh')
-rw-r--r--network/kismet/doinst.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/kismet/doinst.sh b/network/kismet/doinst.sh
index f9e45084c6..19a6ff6ac8 100644
--- a/network/kismet/doinst.sh
+++ b/network/kismet/doinst.sh
@@ -4,7 +4,8 @@ config() {
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...