[csw-devel] SF.net SVN: opencsw:[651] mirror/check-zpool

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Feb 12 12:23:48 CET 2013


Revision: 651
          http://opencsw.svn.sourceforge.net/opencsw/?rev=651&view=rev
Author:   dmichelsen
Date:     2013-02-12 11:23:48 +0000 (Tue, 12 Feb 2013)
Log Message:
-----------
check-zpool: Fix exit status

Modified Paths:
--------------
    mirror/check-zpool

Modified: mirror/check-zpool
===================================================================
--- mirror/check-zpool	2013-02-11 10:40:49 UTC (rev 650)
+++ mirror/check-zpool	2013-02-12 11:23:48 UTC (rev 651)
@@ -201,7 +201,9 @@
 #  print "State: ", $p->state, "\n";
 }
 
+$np->nagios_exit( OK, 'Pool status ' . join( ', ', @pools ) . ' is ok' );
 
+
 __END__
 # scan: scrub in progress since Tue Feb  5 16:15:54 2013
 my $scrub = $status{'scan'};

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list