whoops, chmod =

This commit is contained in:
Connor Lane Smith 2011-06-11 00:31:44 +01:00
parent 26723ba0dc
commit 0cca0c209b

View File

@ -51,6 +51,9 @@ chmodr(const char *path)
case '-': case '-':
st.st_mode &= ~mode; st.st_mode &= ~mode;
break; break;
case '=':
st.st_mode = mode;
break;
} }
if(chmod(path, st.st_mode) == -1) if(chmod(path, st.st_mode) == -1)
eprintf("chmod %s:", path); eprintf("chmod %s:", path);