From 59a4273a8aa2b8f83d1c8e9185690117f90f87bb Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 11 Aug 2015 12:08:48 +0200 Subject: nut.inc - remove useless config_(un)lock calls This function does nothing but return. --- config/nut/nut.inc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'config/nut') diff --git a/config/nut/nut.inc b/config/nut/nut.inc index 578bb82f..fbc75a30 100644 --- a/config/nut/nut.inc +++ b/config/nut/nut.inc @@ -498,8 +498,6 @@ EOD; global $config; global $input_errors; - config_lock(); - stop_service("nut"); /* create state path */ @@ -542,7 +540,5 @@ EOD; exec('/bin/rm -rf /var/db/nut'); conf_mount_ro(); } - - config_unlock(); } ?> -- cgit v1.2.3