diff options
author | Ray Strode <rstrode@redhat.com> | 2008-06-22 00:36:23 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-06-22 00:36:23 -0400 |
commit | b7f4399294fad3d70029526cd7334c50d8673214 (patch) | |
tree | 88e1514652b5a3efb1f5450682337658b5334a9f | |
parent | 1fd28b7e97fe048ad1757e1c4f0f082e775fc73e (diff) | |
download | plymouth-b7f4399294fad3d70029526cd7334c50d8673214.tar.gz plymouth-b7f4399294fad3d70029526cd7334c50d8673214.tar.xz plymouth-b7f4399294fad3d70029526cd7334c50d8673214.zip |
Exit cleanly if rhgb is not on the command line
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -453,6 +453,9 @@ main (int argc, */ if (!initialize_environment (&state)) { + if (errno == 0) + return 0; + ply_error ("could not setup basic operating environment: %m"); ply_detach_daemon (daemon_handle, EX_OSERR); return EX_OSERR; |