diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-25 14:24:16 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-25 14:24:16 +0100 |
commit | 5d2acdaf9a0064e56bfe6479e153a1c44b0db1dc (patch) | |
tree | c171c4a656445c959923e9b53d9d5fea159e632c | |
parent | 5c3935b75fc4dd46bc469e18aabb312e74b5915d (diff) |
mbimcli: fix second ctrl+c handling in mbimcli
A single ctrl+c cancels the GCancellable, and the second ctrl+c should
have stopped the GMainLoop, but that was never happening.
-rw-r--r-- | src/mbimcli/mbimcli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbimcli/mbimcli.c b/src/mbimcli/mbimcli.c index be5c853..bcc7f40 100644 --- a/src/mbimcli/mbimcli.c +++ b/src/mbimcli/mbimcli.c @@ -100,8 +100,8 @@ signals_handler (int signum) g_printerr ("%s\n", "cancelling the operation...\n"); g_cancellable_cancel (cancellable); + return; } - return; } if (loop && |