Make mkdir read mode argument as octal.

This commit is contained in:
Markus Wichmann 2013-10-20 10:49:59 +02:00 committed by sin
parent 0690c1a003
commit a4eb639ba7

View File

@ -30,7 +30,7 @@ main(int argc, char *argv[])
break;
case 'm':
mflag = true;
mode = estrtol(EARGF(usage()), 10);
mode = estrtol(EARGF(usage()), 8);
break;
default:
usage();