summaryrefslogtreecommitdiff
path: root/chmod_chown_chgrp.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-22 18:22:02 +0000
committerEric Andersen1999-10-22 18:22:02 +0000
commit9922c833cabe4b5766facb110c17bbaf5fc05670 (patch)
tree7293b7e8a6eae1bb7322e15f5e6de6eec9f9b58d /chmod_chown_chgrp.c
parentfa0540fb091625499b90285bafa061c665e0c636 (diff)
downloadbusybox-9922c833cabe4b5766facb110c17bbaf5fc05670.zip
busybox-9922c833cabe4b5766facb110c17bbaf5fc05670.tar.gz
Removed cruft
Diffstat (limited to 'chmod_chown_chgrp.c')
-rw-r--r--chmod_chown_chgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c
index a91b0a3..da3ba8d 100644
--- a/chmod_chown_chgrp.c
+++ b/chmod_chown_chgrp.c
@@ -101,7 +101,7 @@ int chmod_chown_chgrp_main(int argc, char **argv)
if ( whichApp == CHMOD_APP ) {
/* Find the specified modes */
- mode = ( 0 & (S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO));
+ mode = 0;
if ( parse_mode(*argv, &mode) == FALSE ) {
fprintf(stderr, "%s: Unknown mode: %s\n", invocationName, *argv);
exit( FALSE);