X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffstools.git;a=blobdiff_plain;f=libfstools%2Fextroot.c;h=418df9494f7f4ba0a59f4efa3963c34c424d4f39;hp=e548bb1c345f548be4d7697483e5ab344604ec83;hb=bb2239de848e7289856068ba0952bb4492c395d8;hpb=08315ab8b728ce4adba62e11ada879b301318dd8 diff --git a/libfstools/extroot.c b/libfstools/extroot.c index e548bb1..418df94 100644 --- a/libfstools/extroot.c +++ b/libfstools/extroot.c @@ -64,7 +64,8 @@ int mount_extroot(void) setenv("LD_LIBRARY_PATH", ldlib_path, 1); snprintf(kmod_loader, sizeof(kmod_loader), "/sbin/kmodloader %s/etc/modules-boot.d/", dirname(ldlib_path)); - system(kmod_loader); + if (system(kmod_loader)) + ULOG_ERR("failed to launch kmodloader from internal overlay\n"); } pid = fork();