From 9938ce0de63ae8ea780daed3d6551832cb48c96b Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 20 Mar 2020 15:27:14 -0400 Subject: add lm trayicon, and fix #1 Add program, its menu entry, and xdg autostart entry (disabled) Fix #1: cli executes valid command but still shows help message --- src/usr/bin/logout-manager-cli.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/usr/bin/logout-manager-cli.py') diff --git a/src/usr/bin/logout-manager-cli.py b/src/usr/bin/logout-manager-cli.py index 64ea133..8fd78b4 100755 --- a/src/usr/bin/logout-manager-cli.py +++ b/src/usr/bin/logout-manager-cli.py @@ -60,6 +60,7 @@ if config.can_hibernate: if args.action in allowed_actions: func = getattr(globals()['actions'],args.action) func(config) + sys.exit(0) elif args.action: eprint("Unable to take action: %s" % str(args.action)) sys.exit(1) -- cgit