Introduction
Introduction Statistics Contact Development Disclaimer Help
Use Exit-Code 1 on abort - thinglaunch - A simple command and password promtper…
git clone git://bitreich.org/thinglaunch
Log
Files
Refs
Tags
LICENSE
---
commit ea4447f1720d7ef60229bc29b3a0fc12c0d39ccb
parent 50920755d6cdfc642d76cecac2dbee9730af77c7
Author: Christoph Polcin <[email protected]>
Date: Mon, 12 Mar 2018 11:49:46 +0100
Use Exit-Code 1 on abort
Signed-off-by: Christoph Polcin <[email protected]>
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M thinglaunch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/thinglaunch.c b/thinglaunch.c
@@ -401,7 +401,7 @@ keypress(XKeyEvent *keyevent)
switch(key_symbol) {
case XK_Escape:
- exit(0);
+ exit(1);
break;
case XK_BackSpace:
len = wcslen(command);
@@ -417,7 +417,7 @@ keypress(XKeyEvent *keyevent)
break;
case XK_c:
if (keyevent->state & ControlMask)
- exit(0);
+ exit(1);
default:
if (key_symbol > 255)
break;
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.