aboutsummaryrefslogtreecommitdiff
path: root/src/usr/bin/logout-manager-cli.py
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-20 15:27:14 -0400
committerB Stack <bgstack15@gmail.com>2020-04-02 09:06:38 -0400
commit9938ce0de63ae8ea780daed3d6551832cb48c96b (patch)
tree93d9c57b0ad16fad30d3421ef4ce96b3ef46097c /src/usr/bin/logout-manager-cli.py
parentadd alternative trayicon shell script (diff)
downloadlogout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.tar.gz
logout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.tar.bz2
logout-manager-9938ce0de63ae8ea780daed3d6551832cb48c96b.zip
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
Diffstat (limited to 'src/usr/bin/logout-manager-cli.py')
-rwxr-xr-xsrc/usr/bin/logout-manager-cli.py1
1 files changed, 1 insertions, 0 deletions
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)
bgstack15