summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-01-15 08:52:19 +0200
committerGitHub <noreply@github.com>2024-01-15 08:52:19 +0200
commit396adffb3fc0611ca2ad2d300b282a70641a901f (patch)
tree2790154a35f03fef9d562f7422611f9188d23895
parentf1fe8df14abef2add43d8422160322d31d7e286d (diff)
parenta4a2f5b844962987cb75087108bae397532d4b6a (diff)
downloadvyos-1x-396adffb3fc0611ca2ad2d300b282a70641a901f.tar.gz
vyos-1x-396adffb3fc0611ca2ad2d300b282a70641a901f.zip
Merge pull request #2826 from vyos/mergify/bp/sagitta/pr-2825
op-mode: T5944: remove double whitespace in reboot error message (backport #2825)
-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: