]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(rm): Call exit with EXIT_FAILURE, not `1'.
authorJim Meyering <jim@meyering.net>
Mon, 22 Apr 2002 09:42:00 +0000 (09:42 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 22 Apr 2002 09:42:00 +0000 (09:42 +0000)
src/remove.c

index 53501b707ffd432e4c087029edde0e691a757794..8ddcd24fad0a28c8b785748ef9015d194540b664 100644 (file)
@@ -878,7 +878,7 @@ The following two directories have the same inode number:\n"));
              if (yesno ())
                return RM_ERROR;
            }
-         exit (1);
+         exit (EXIT_FAILURE);
        }
 
       /* Put this directory in the active_dir_map.  */