summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.update b/urpmi.update
index 3bda128b..14bd5ee1 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -1,7 +1,7 @@
#!/usr/bin/perl
#- Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 MandrakeSoft SA
-#- Copyright (C) 2005 Mandriva SA
+#- Copyright (C) 2005, 2006 Mandriva SA
#-
#- This program is free software; you can redistribute it and/or modify
#- it under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@ my $urpm = new urpm;
$options{force} = 0;
$options{noclean} = $options{verbose} = 1;
-urpm::args::parse_cmdline(urpm => $urpm);
+urpm::args::parse_cmdline(urpm => $urpm) or exit(1);
$options{verbose} > 0 or $urpm->{log} = sub {};