summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-15 06:14:13 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-15 06:14:13 +0100
commit01b7ae796e870be90d4e448100c5e7551d9767ec (patch)
treeb91d7339cdf1cd8490956e036777200668a4d235 /src/op_mode
parentb303d7b0c612150dc733c330127121cc46eb0be4 (diff)
downloadvyos-1x-01b7ae796e870be90d4e448100c5e7551d9767ec.tar.gz
vyos-1x-01b7ae796e870be90d4e448100c5e7551d9767ec.zip
op-mode: T5944: remove double whitespace in reboot error message
Diffstat (limited to 'src/op_mode')
-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: