diff options
Diffstat (limited to 'mdkonline.pm')
-rw-r--r-- | mdkonline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkonline.pm b/mdkonline.pm index 2b8b952b..ef7a9309 100644 --- a/mdkonline.pm +++ b/mdkonline.pm @@ -185,7 +185,7 @@ sub clean_confdir { sub hw_upload { my ($login, $passwd, $hostname) = @_; my $hw_exec = '/usr/sbin/hwdb_add_system'; - -x $hw_exec and system("HWDB_PASSWD=$passwd $hw_exec $login $hostname &"); + -x $hw_exec && !-s '/etc/sysconfig/mdkonline' and system("HWDB_PASSWD=$passwd $hw_exec $login $hostname &"); } sub automated_upgrades { |