aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chmod.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-12-20 23:13:26 +0000
committerMatt Kraai <kraai@debian.org>2001-12-20 23:13:26 +0000
commit1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch)
tree97414e991363fa613f229019d697280cae1097e0 /coreutils/chmod.c
parent31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff)
downloadbusybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.gz
busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.bz2
busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.zip
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'coreutils/chmod.c')
-rw-r--r--coreutils/chmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index 53230b568..38b39680f 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -58,7 +58,7 @@ int chmod_main(int argc, char **argv)
58 if (argc > optind && argc > 2 && argv[optind]) { 58 if (argc > optind && argc > 2 && argv[optind]) {
59 /* Parse the specified mode */ 59 /* Parse the specified mode */
60 mode_t mode; 60 mode_t mode;
61 if (parse_mode(argv[optind], &mode) == FALSE) { 61 if (! parse_mode(argv[optind], &mode)) {
62 error_msg_and_die( "unknown mode: %s", argv[optind]); 62 error_msg_and_die( "unknown mode: %s", argv[optind]);
63 } 63 }
64 } else { 64 } else {
@@ -67,8 +67,8 @@ int chmod_main(int argc, char **argv)
67 67
68 /* Ok, ready to do the deed now */ 68 /* Ok, ready to do the deed now */
69 for (i = optind + 1; i < argc; i++) { 69 for (i = optind + 1; i < argc; i++) {
70 if (recursive_action (argv[i], recursiveFlag, FALSE, FALSE, fileAction, 70 if (! recursive_action (argv[i], recursiveFlag, FALSE, FALSE, fileAction,
71 fileAction, argv[optind]) == FALSE) { 71 fileAction, argv[optind])) {
72 return EXIT_FAILURE; 72 return EXIT_FAILURE;
73 } 73 }
74 } 74 }