sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit d9a1030d5732da2c86ce44fb388b20a96f5c82ed
parent 760690c85e2a178a815dba8da9c80690bf49ad80
Author: sin <sin@2f30.org>
Date:   Tue,  4 Mar 2014 11:02:03 +0000

We do symbolic options for chmod(1)

Don't bomb out if the argument is not a valid octal number, it
could very well be something like "chmod +x test".

Diffstat:
Mchmod.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/chmod.c b/chmod.c @@ -107,8 +107,6 @@ parsemode(const char *str) if(octal & 00002) mode |= S_IWOTH; if(octal & 00001) mode |= S_IXOTH; return; - } else { - eprintf("not octal\n"); } for(p = str; *p; p++) switch(*p) {