Don't report an error if snort was not started at shutdown.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Jun 2010 21:42:32 +0000 (23:42 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Jun 2010 21:42:32 +0000 (23:42 +0200)
src/initscripts/init.d/snort

index 6323e2b..d22cbc4 100644 (file)
@@ -122,6 +122,9 @@ case "$1" in
                          boot_mesg "Stopping Guardian..."
                          killproc /usr/local/bin/guardian.pl
                          fi
+
+               # Don't report returncode of rm if snort was not started
+               exit 0
         ;;
                 
         status)