summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/system/e_system_ddc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/system/e_system_ddc.c b/src/bin/system/e_system_ddc.c
index 842f9eac0a..830f439802 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;