Print an error if the environment is not set up for hotplugging - smdev - suckl… | |
git clone git://git.suckless.org/smdev | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0534a1001fb7990c2837bc4cf76f7f4824a890c1 | |
parent 58018dfb567aa80dc11bd81446fce1764ad628aa | |
Author: sin <[email protected]> | |
Date: Thu, 22 Aug 2013 13:31:08 +0100 | |
Print an error if the environment is not set up for hotplugging | |
Diffstat: | |
M smdev.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/smdev.c b/smdev.c | |
@@ -59,7 +59,7 @@ main(int argc, char *argv[]) | |
recurse("/sys/devices", populatedev); | |
else | |
if (dohotplug() < 0) | |
- return 1; | |
+ eprintf("Environment not set up correctly for hotplugg… | |
return 0; | |
} | |