collect correct args for restart

This commit is contained in:
2026-02-09 07:22:44 -05:00
parent 179048e565
commit d339133981
2 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -515,15 +515,17 @@ def main(argv=None):
msgonly = True msgonly = True
if args.name: if args.name:
iam = args.name iam = args.name
cmdargs += ["-n", iam]
if args.daemon: if args.daemon:
fdaemon = True fdaemon = True
if args.verbose: if args.verbose:
verbose = True verbose = True
cmdargs.append("--verbose")
if args.debug: if args.debug:
config.setdefault("debug", 0) config.setdefault("debug", 0)
config["debug"] += args.debug config["debug"] += args.debug
cmdargs.append("-" + "x" * args.debug)
cmdargs += argv
if verbose: if verbose:
print("cmdargs for restart are %s" % cmdargs) print("cmdargs for restart are %s" % cmdargs)
Regular → Executable
View File