summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index 3d42047f..9044f6ab 100755
--- a/mdkonline
+++ b/mdkonline
@@ -199,7 +199,7 @@ sub checkErrors {
}
sub setEntryWithConf {
my %t = getVarsFromSh($wideconf);
- foreach (qw(login machine)) { $o->{$_}->set_text($t{uc($_)}) }
+ foreach (qw(login machine)) { $o->{$_} and $o->{$_}->set_text($t{uc($_)}) }
}
sub sendConfig {
# When we arrive here, we're sure the login/passwd is correct
@@ -409,5 +409,4 @@ MACHINE=$boxname
COUNTRY=$country
LASTCHECK=$d
);
-
}