summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-19 16:17:41 -0400
committerRay Strode <rstrode@redhat.com>2008-06-19 16:17:41 -0400
commit3592a9741452524747edde6e513abfae63aad39a (patch)
tree7f1ae89a3244822904153b47d335bc54fc92887f
parent25663f934b05eab9de941910231c9dd20be63e60 (diff)
downloadplymouth-3592a9741452524747edde6e513abfae63aad39a.tar.gz
plymouth-3592a9741452524747edde6e513abfae63aad39a.tar.xz
plymouth-3592a9741452524747edde6e513abfae63aad39a.zip
Only run if rhgb is on the command line
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index ae58117..26ed001 100644
--- a/src/main.c
+++ b/src/main.c
@@ -369,8 +369,8 @@ plymouth_should_be_running (state_t *state)
return false;
}
}
-
- return true;
+
+ return strstr (state->kernel_command_line, "rhgb") != NULL;
}
static bool