summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/drakups2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 969ee7b30..169564cd3 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -252,7 +252,7 @@ my @pages = (
add => sub {
eval { add_device_wizard($in, $struct) };
my $err = $@;
- die $err if $err !~ /wizcancel/;
+ die $err if $err && $err !~ /wizcancel/;
$::WizardWindow->destroy if defined $::WizardWindow;
undef $::WizardWindow;
},