mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
Userland: Fix segfault in chown
chown takes 2 arguments, not 1.
This commit is contained in:
parent
084e67f267
commit
c8eaae3eaf
Notes:
sideshowbarker
2024-07-19 09:29:23 +09:00
Author: https://github.com/willmcpherson2 Commit: https://github.com/SerenityOS/serenity/commit/c8eaae3eaf7 Pull-request: https://github.com/SerenityOS/serenity/pull/1205
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (argc < 2) {
|
||||
if (argc < 3) {
|
||||
printf("usage: chown <uid[:gid]> <path>\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue