Fix grammar mistake in invalid shell check patch
This commit is contained in:
parent
fd2aa2917b
commit
a1cd6a4b05
@ -22,7 +22,7 @@ diff -up shadow-4.8/src/useradd.c.invalid-shell shadow-4.8/src/useradd.c
|
|||||||
+ || S_ISDIR(st.st_mode)
|
+ || S_ISDIR(st.st_mode)
|
||||||
+ || access(optarg, X_OK) != 0)) {
|
+ || access(optarg, X_OK) != 0)) {
|
||||||
+ fprintf (stderr,
|
+ fprintf (stderr,
|
||||||
+ _("%s: Warning: missing or not executable shell '%s'\n"),
|
+ _("%s: Warning: missing or non-executable shell '%s'\n"),
|
||||||
+ Prog, optarg);
|
+ Prog, optarg);
|
||||||
+ }
|
+ }
|
||||||
user_shell = optarg;
|
user_shell = optarg;
|
||||||
|
Loading…
Reference in New Issue
Block a user