mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Make "dump /filesystem" (without options) work.
PR: docs/84408 MFC after: 3 days
This commit is contained in:
parent
ca8022c580
commit
ef4e780539
1 changed files with 5 additions and 2 deletions
|
|
@ -691,9 +691,12 @@ obsolete(int *argcp, char **argvp[])
|
|||
argv = *argvp;
|
||||
argc = *argcp;
|
||||
|
||||
/* Return if no arguments or first argument has leading dash. */
|
||||
/*
|
||||
* Return if no arguments or first argument has leading
|
||||
* dash or slash.
|
||||
*/
|
||||
ap = argv[1];
|
||||
if (argc == 1 || *ap == '-')
|
||||
if (argc == 1 || *ap == '-' || *ap == '/')
|
||||
return;
|
||||
|
||||
/* Allocate space for new arguments. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue