summaryrefslogtreecommitdiffstats
path: root/src/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/action.c')
-rw-r--r--src/action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/action.c b/src/action.c
index 12288e7..7389fe3 100644
--- a/src/action.c
+++ b/src/action.c
@@ -494,6 +494,7 @@ void slapt_pkg_action_show(const char *pkg_name)
free(description);
} else {
printf(gettext("No such package: %s\n"),pkg_name);
+ exit(EXIT_FAILURE);
}
slapt_free_pkg_list(avail_pkgs);