diff options
-rw-r--r-- | gnu/libexec/ld.so/ldconfig/ldconfig.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/libexec/ld.so/ldconfig/ldconfig.c b/gnu/libexec/ld.so/ldconfig/ldconfig.c index 65dc82db9d0..02157e365bf 100644 --- a/gnu/libexec/ld.so/ldconfig/ldconfig.c +++ b/gnu/libexec/ld.so/ldconfig/ldconfig.c @@ -387,7 +387,7 @@ int main(int argc, char **argv) prog = argv[0]; opterr = 0; - while ((c = getopt(argc, argv, "DvnNXlprf:P:m:")) != EOF) + while ((c = getopt(argc, argv, "DRvnNXlprf:P:m:")) != EOF) switch (c) { case 'D': @@ -396,6 +396,10 @@ int main(int argc, char **argv) nolinks = 1; verbose = 1; break; + case 'R': + /* nothing */ + exit(EXIT_OK); + break; case 'v': verbose = 1; /* verbose mode */ break; |