diff options
Diffstat (limited to 'bin/ncp/CONFIG/nc-scan-auto.sh')
-rw-r--r-- | bin/ncp/CONFIG/nc-scan-auto.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp/CONFIG/nc-scan-auto.sh b/bin/ncp/CONFIG/nc-scan-auto.sh index 1445d7fc..1e15200d 100644 --- a/bin/ncp/CONFIG/nc-scan-auto.sh +++ b/bin/ncp/CONFIG/nc-scan-auto.sh @@ -10,9 +10,9 @@ -configure() +configure() { - [[ $ACTIVE != "yes" ]] && { + [[ $ACTIVE != "yes" ]] && { rm -f /etc/cron.d/ncp-scan-auto service cron restart echo "automatic scans disabled" |