summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/udev-test.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/udev-test.pl b/test/udev-test.pl
index 9a54b6192a..613aa792d4 100644
--- a/test/udev-test.pl
+++ b/test/udev-test.pl
@@ -124,7 +124,7 @@ system("rm -rf $udev_root");
mkdir($udev_root) || die "unable to create udev_root: $udev_root\n";
# test
-my $error;
+my $error = 0;
print "\nudev-test will run ".($#tests + 1)." tests:\n\n";
foreach my $config (@tests) {