summaryrefslogtreecommitdiffstats
path: root/urpmf
diff options
context:
space:
mode:
Diffstat (limited to 'urpmf')
-rwxr-xr-xurpmf3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmf b/urpmf
index 1b3447c6..31fb499d 100755
--- a/urpmf
+++ b/urpmf
@@ -145,11 +145,12 @@ our $uniq = ''; # --uniq
our $update = 0; # --update
#- globals used in callback
-our $expr; # regexp to match against
+our ($expr, $left_expr); # regexp to match against
our %uniq;
#- parse arguments list.
my $urpm = urpm->new_parse_cmdline or exit(1);
+defined $left_expr and $urpm->{fatal}(1, N("unterminated expression (%s)", $left_expr));
defined $expr or usage();
if ($qf eq '%default') {