summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-15 06:14:13 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-15 05:18:23 +0000
commita4a2f5b844962987cb75087108bae397532d4b6a (patch)
tree2790154a35f03fef9d562f7422611f9188d23895 /src
parentf1fe8df14abef2add43d8422160322d31d7e286d (diff)
downloadvyos-1x-a4a2f5b844962987cb75087108bae397532d4b6a.tar.gz
vyos-1x-a4a2f5b844962987cb75087108bae397532d4b6a.zip
op-mode: T5944: remove double whitespace in reboot error message
(cherry picked from commit 01b7ae796e870be90d4e448100c5e7551d9767ec)
Diffstat (limited to 'src')
-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: