aboutsummaryrefslogtreecommitdiffstats
path: root/src/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rm.c b/src/rm.c
index f8f12cacf..2ad1fa8fb 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -22,10 +22,10 @@
#include <stdio.h>
#include <getopt.h>
#include <sys/types.h>
-#include <assert.h>
#include "system.h"
#include "argmatch.h"
+#include "assure.h"
#include "die.h"
#include "error.h"
#include "remove.h"
@@ -368,6 +368,6 @@ main (int argc, char **argv)
}
enum RM_status status = rm (file, &x);
- assert (VALID_STATUS (status));
+ affirm (VALID_STATUS (status));
return status == RM_ERROR ? EXIT_FAILURE : EXIT_SUCCESS;
}