diff --git a/src/bin/system/e_system_ddc.c b/src/bin/system/e_system_ddc.c index 842f9eac0..830f43980 100644 --- a/src/bin/system/e_system_ddc.c +++ b/src/bin/system/e_system_ddc.c @@ -298,8 +298,8 @@ _ddc_init(void) // brute force modprobe this as it likely is needed - probe will fail // if this doesn't work or find devices anyway - system("modprobe i2c-dev"); - usleep(200 * 1000); // and wait for the module to come up... 200ms + if (system("modprobe i2c-dev") == 0) + usleep(200 * 1000); // and wait for the module to come up... 200ms if (!_ddc_probe()) return EINA_FALSE;