ls: fix SEGV when --color is used and ENABLE_LS_COLOR=n
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b2c123d484
commit
9501bc7da5
@ -1086,7 +1086,7 @@ int ls_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
static const char ls_longopts[] ALIGN1 =
|
static const char ls_longopts[] ALIGN1 =
|
||||||
"full-time\0" No_argument "\xff"
|
"full-time\0" No_argument "\xff"
|
||||||
"group-directories-first\0" No_argument "\xfe"
|
"group-directories-first\0" No_argument "\xfe"
|
||||||
"color\0" Optional_argument "\xfd"
|
IF_FEATURE_LS_COLOR("color\0" Optional_argument "\xfd")
|
||||||
;
|
;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user