dbuscrontab: more verbose messages on syntax check action
authorKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 11:39:29 +0000 (13:39 +0200)
committerKonstantin Stepanov <kstep@p-nut.info>
Sun, 12 Dec 2010 11:39:29 +0000 (13:39 +0200)
dbuscrontab.py

index 71880ec..7b9bf17 100755 (executable)
@@ -80,7 +80,9 @@ if __name__ == '__main__':
             check_syntax(conffile)
         except CrontabParserError, e:
             print e.message
+            print "File %s has syntax errors." % (conffile)
             sys.exit(3)
+        print "File %s has no syntax errors." % (conffile)
 
     else:
         print """