summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-15 06:17:10 +0100
committerGitHub <noreply@github.com>2024-01-15 06:17:10 +0100
commit53a14796133c71ef32662ec471671b25e6d3aafa (patch)
treeb91d7339cdf1cd8490956e036777200668a4d235
parentb303d7b0c612150dc733c330127121cc46eb0be4 (diff)
parent01b7ae796e870be90d4e448100c5e7551d9767ec (diff)
downloadvyos-1x-53a14796133c71ef32662ec471671b25e6d3aafa.tar.gz
vyos-1x-53a14796133c71ef32662ec471671b25e6d3aafa.zip
Merge pull request #2825 from c-po/tmp
op-mode: T5944: remove double whitespace in reboot error message
-rwxr-xr-xsrc/op_mode/powerctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/powerctrl.py b/src/op_mode/powerctrl.py
index 1208fb7cd..c07d0c4bd 100755
--- a/src/op_mode/powerctrl.py
+++ b/src/op_mode/powerctrl.py
@@ -214,7 +214,7 @@ def main():
if args.reboot is not None:
for r in args.reboot:
if ':' not in r and '/' not in r and '.' not in r:
- print("Incorrect format! Use HH:MM")
+ print("Incorrect format! Use HH:MM")
exit(1)
execute_shutdown(args.reboot, reboot=True, ask=args.yes)
if args.reboot_in is not None: