diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-20 15:27:14 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-20 15:27:14 -0400 |
commit | c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da (patch) | |
tree | 93d9c57b0ad16fad30d3421ef4ce96b3ef46097c /src/usr/bin/logout-manager-cli.py | |
parent | add alternative trayicon shell script (diff) | |
download | logout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.tar.gz logout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.tar.bz2 logout-manager-c0d4662bb3ee8a9ab2cb85dc6870f00a478d64da.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-x | src/usr/bin/logout-manager-cli.py | 1 |
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) |