marsadm: fix bad check

This commit is contained in:
Thomas Schoebel-Theuer 2015-02-13 10:38:45 +01:00
parent 62ce5c0a3b
commit 1012865854
1 changed files with 1 additions and 4 deletions

View File

@ -1251,10 +1251,7 @@ sub nyi_cmd {
}
sub is_module_loaded {
open TEST, "lsmod | grep mars |";
my $res = <TEST>;
close TEST;
return $res;
return -d "/proc/sys/mars";
}
sub set_connect_pref_list {