dsa-check-backuppg: Do not print info level items (IGNORED, etc.) without -v
[mirror/dsa-nagios.git] / dsa-nagios-checks / checks / dsa-check-backuppg
index ca6c159..ddef856 100755 (executable)
@@ -345,8 +345,9 @@ for dir in os.listdir('.'):
 
 for p in problems_seq:
     print p
-for p in notices_seq:
-    print p
+if options.verbose:
+    for p in notices_seq:
+        print p
 
 if options.expire:
     for f in global_expires: