aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2009-08-14 16:32:10 -0400
committerJason Woodward2009-08-14 16:32:10 -0400
commitc15d5acb10d117f8dd3e037355a11c1237d562ec (patch)
treeb285c1e4946d4e51e434e9d90dd6c3e1dead7ceb /src
parent0b5deae5a1b10a92cc5d41c9ce61452751f6d495 (diff)
downloadslapt-get-c15d5acb10d117f8dd3e037355a11c1237d562ec.tar.gz
for consistency error out when --install is passed a package that does not exist (George)
Diffstat (limited to 'src')
-rw-r--r--src/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/action.c b/src/action.c
index 13bf5d3..9c9a070 100644
--- a/src/action.c
+++ b/src/action.c
@@ -73,7 +73,7 @@ void slapt_pkg_action_install(const slapt_rc_config *global_config,
if ( pkg == NULL ) {
fprintf(stderr,gettext("No such package: %s\n"),arg);
- continue;
+ exit(EXIT_FAILURE);
}
}