Commit fc277de
committed
remote/client: exit with 1 on KeyboardInterrupt
When concatenating commands with '&&' or using 'set -e', a keyboard
interrupt should lead to no further commands being executed.
To allow this, rather exit with 1 than 0 on keyboard interrupt.
Fixes: ef40183 ("remote/client: catch common errors and show a help message")
Signed-off-by: Bastian Krause <[email protected]>1 parent dc8392a commit fc277de
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1904 | 1904 | | |
1905 | 1905 | | |
1906 | 1906 | | |
1907 | | - | |
| 1907 | + | |
1908 | 1908 | | |
1909 | 1909 | | |
1910 | 1910 | | |
| |||
0 commit comments