projects
/
dbuscron
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d67d7cb
)
dbuscrontab: more verbose messages on syntax check action
author
Konstantin Stepanov
<kstep@p-nut.info>
Sun, 12 Dec 2010 11:39:29 +0000
(13:39 +0200)
committer
Konstantin Stepanov
<kstep@p-nut.info>
Sun, 12 Dec 2010 11:39:29 +0000
(13:39 +0200)
dbuscrontab.py
patch
|
blob
|
history
diff --git
a/dbuscrontab.py
b/dbuscrontab.py
index
71880ec
..
7b9bf17
100755
(executable)
--- a/
dbuscrontab.py
+++ b/
dbuscrontab.py
@@
-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 """