mirror of
https://github.com/sheumann/hush.git
synced 2025-01-18 07:31:34 +00:00
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
This commit is contained in:
parent
5d41d60f1e
commit
7c31ea4e29
@ -15,6 +15,8 @@
|
|||||||
* Added support for being a login shell, so things like
|
* Added support for being a login shell, so things like
|
||||||
'-su' or '-sh' (stuff where argv[0][0]=='-') will now always
|
'-su' or '-sh' (stuff where argv[0][0]=='-') will now always
|
||||||
invoke the shell. Now you can use BusyBox as a login shell.
|
invoke the shell. Now you can use BusyBox as a login shell.
|
||||||
|
* ls.c now ignores '-g', since some ftp clients like that sort
|
||||||
|
of thing. Patch thanks to David Vrabel <dvrabel@arcom.co.uk>
|
||||||
|
|
||||||
-Erik Andersen
|
-Erik Andersen
|
||||||
|
|
||||||
|
@ -568,6 +568,8 @@ extern int ls_main(int argc, char **argv)
|
|||||||
opts |= DISP_RECURSIVE;
|
opts |= DISP_RECURSIVE;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
case 'g': /* ignore -- for ftp servers */
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
goto print_usage_message;
|
goto print_usage_message;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user