From a4a2f5b844962987cb75087108bae397532d4b6a Mon Sep 17 00:00:00 2001
From: Christian Breunig <christian@breunig.cc>
Date: Mon, 15 Jan 2024 06:14:13 +0100
Subject: op-mode: T5944: remove double whitespace in reboot error message

(cherry picked from commit 01b7ae796e870be90d4e448100c5e7551d9767ec)
---
 src/op_mode/powerctrl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/op_mode')

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:
-- 
cgit v1.2.3