mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
So hnoring quiet was important after all
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
1 parent
65c971925c
commit
321264f0dc
1 file changed
+7
-1
+7
-1
@@ -244,8 +244,14 @@ int main()
|
||||
*/
|
||||
if ((f = fopen("/proc/cmdline", "r")) != NULL) {
|
||||
fgets(line, LINE_SIZE, f);
|
||||
if ((strstr(line, "finit_debug")))
|
||||
if ((strstr(line, "finit_debug"))) {
|
||||
debug = 1;
|
||||
}
|
||||
if (strstr(line, "quiet")) {
|
||||
close(0);
|
||||
close(1);
|
||||
close(2);
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user