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 '-':
st.st_mode &= ~mode;
break;
case '=':
st.st_mode = mode;
break;
}
if(chmod(path, st.st_mode) == -1)
eprintf("chmod %s:", path);