diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-06-03 23:23:25 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-06-03 23:23:25 -0400 |
| commit | fe6ba292f59ee8c8cd4b9a2acf3c1052adf356ed (patch) | |
| tree | b7bb429aafb940d927ce34b2b496a32a2f5c7aee /src | |
| parent | 44c2e66f25ecf03fb30bffba3f0988f64b0204c1 (diff) | |
| download | plymouth-fe6ba292f59ee8c8cd4b9a2acf3c1052adf356ed.tar.gz plymouth-fe6ba292f59ee8c8cd4b9a2acf3c1052adf356ed.tar.xz plymouth-fe6ba292f59ee8c8cd4b9a2acf3c1052adf356ed.zip | |
Don't require argc > 1
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -583,7 +583,7 @@ main (int argc, } } - if (argc <= 1 || (attach_to_session && argc != 3) || (attach_to_session && state.ptmx == -1)) + if ((attach_to_session && argc != 3) || (attach_to_session && state.ptmx == -1)) { ply_error ("%s [--attach-to-session <pty_master_fd>]", argv[0]); return EX_USAGE; |
