From c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65 Mon Sep 17 00:00:00 2001 From: kraai Date: Thu, 20 Dec 2001 23:13:26 +0000 Subject: Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !. git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- coreutils/chmod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coreutils/chmod.c') 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) if (argc > optind && argc > 2 && argv[optind]) { /* Parse the specified mode */ mode_t mode; - if (parse_mode(argv[optind], &mode) == FALSE) { + if (! parse_mode(argv[optind], &mode)) { error_msg_and_die( "unknown mode: %s", argv[optind]); } } else { @@ -67,8 +67,8 @@ int chmod_main(int argc, char **argv) /* Ok, ready to do the deed now */ for (i = optind + 1; i < argc; i++) { - if (recursive_action (argv[i], recursiveFlag, FALSE, FALSE, fileAction, - fileAction, argv[optind]) == FALSE) { + if (! recursive_action (argv[i], recursiveFlag, FALSE, FALSE, fileAction, + fileAction, argv[optind])) { return EXIT_FAILURE; } } -- cgit v1.2.3-55-g6feb