diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-30 01:29:35 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-30 01:29:58 +0100 |
commit | 8f0a5fda41fd4542c2d8adcf61bde452cc721a22 (patch) | |
tree | 33a3f742c48feb7e5cc9be530912ec0ac870b5f4 /startup | |
parent | c930206466747aa69be0d2d1383a3b98c30c7016 (diff) | |
download | hurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.tar.gz hurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.tar.bz2 hurd-8f0a5fda41fd4542c2d8adcf61bde452cc721a22.zip |
startup: Do not emit ARGP_ERR_UNKNOWN
This is making startup completely ignore parameters when root= is passed
first on the kernel command line.
Diffstat (limited to 'startup')
-rw-r--r-- | startup/startup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/startup/startup.c b/startup/startup.c index 606555d2..53d46982 100644 --- a/startup/startup.c +++ b/startup/startup.c @@ -728,7 +728,6 @@ parse_opt (int key, char *arg, struct argp_state *state) case OPT_KERNEL_TASK: kernel_task = atoi (arg); break; - default: return ARGP_ERR_UNKNOWN; } return 0; } |