Add default value for pid file arg

This commit is contained in:
desbma
2017-01-30 22:41:17 +01:00
parent 6eda3b2170
commit 6e2b12e466
+1 -1
View File
@@ -694,7 +694,7 @@ def cl_main():
dest="log_filepath", dest="log_filepath",
help="Filepath for log output when using daemon mode, if omitted, logging goes to syslog.") help="Filepath for log output when using daemon mode, if omitted, logging goes to syslog.")
arg_parser.add_argument("--pid-file", arg_parser.add_argument("--pid-file",
default=None, default="/var/run/hddfancontrol.pid",
dest="pid_filepath", dest="pid_filepath",
help="Filepath for lock file when using daemon mode") help="Filepath for lock file when using daemon mode")
arg_parser.add_argument("-t", arg_parser.add_argument("-t",