diff options
Diffstat (limited to 'usr/transport.c')
-rw-r--r-- | usr/transport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/transport.c b/usr/transport.c index 80216a2..236ce2b 100644 --- a/usr/transport.c +++ b/usr/transport.c @@ -226,6 +226,9 @@ int transport_load_kmod(char *transport_name) else cmdline[2] = transport_name; + if (iscsi_sysfs_is_transport_loaded(cmdline[2])) + return 0; + pid = fork(); if (pid == 0) { if (execv("/sbin/modprobe", cmdline) < 0) { |