summaryrefslogtreecommitdiffstats
path: root/core/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-11-28 14:33:20 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 13:26:55 -0800
commitdf9a52d857e8d39e9dea88b5eb478c11d42a5881 (patch)
treed9a51d14b86a92d54f985f97e93c834eff966c9d /core/subsurfacestartup.c
parent8934d9744a9b80a11061c4b7f73aaa4e85795e76 (diff)
downloadsubsurface-df9a52d857e8d39e9dea88b5eb478c11d42a5881.tar.gz
downloader: filter possible devices and add mounts, remember last choices
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r--core/subsurfacestartup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c
index 25fd03352..3b0428ef0 100644
--- a/core/subsurfacestartup.c
+++ b/core/subsurfacestartup.c
@@ -270,7 +270,7 @@ void parse_argument(const char *arg)
}
if (strncmp(arg, "--list-dc", sizeof("--list-dc") - 1) == 0) {
show_computer_list();
- return;
+ exit(0);
}
#elif SUBSURFACE_MOBILE_DESKTOP
if (strncmp(arg, "--testqml=", sizeof("--testqml=") - 1) == 0) {