summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/scripts/DrakconnectConf.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/DrakconnectConf.pm b/common/scripts/DrakconnectConf.pm
index b4b7a54c..a1b4fbf8 100644
--- a/common/scripts/DrakconnectConf.pm
+++ b/common/scripts/DrakconnectConf.pm
@@ -23,6 +23,7 @@ require "__WIZ_HOME__/common/scripts/Vareqval.pm";
use strict;
my $file = "/etc/sysconfig/network-scripts/drakconnect_conf";
+!-f $file and die "no such $file";
sub new {
my $self = {};
@@ -66,3 +67,5 @@ sub get_from_known_dev {
exists $self->{mdk}{$device.$arg} or die "no $arg for $device in $file";
$self->{mdk}{$device.$arg};
}
+
+10;