parsemode: No need to return after eprintf
Also, since parsemode exits on failure, don't bother checking return value in xinstall (this would never trigger anyway because mode_t can be unsigned).
This commit is contained in:
committed by
Laslo Hunhold
parent
aded902891
commit
87f40834a3
@@ -215,11 +215,8 @@ main(int argc, char *argv[])
|
||||
owner = getuid();
|
||||
}
|
||||
|
||||
if (mflag) {
|
||||
if (mflag)
|
||||
mode = parsemode(mflag, mode, 0);
|
||||
if (mode < 0)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (tflag) {
|
||||
memmove(argv - 1, argv, argc);
|
||||
|
Reference in New Issue
Block a user