aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 18:59:01 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 18:59:01 +0000
commitcc165b9083e8e4fb01992a8e0d97ecf08cb6dcdd (patch)
treee02b269a110f0dd3f723f28bb31063748cfef0e7
parent00b0496e6976462a4daa4e245ce863f126789eee (diff)
downloadbusybox-cc165b9083e8e4fb01992a8e0d97ecf08cb6dcdd.tar.gz
Should exclude "i" option when not enabled.
-rw-r--r--coreutils/rm.c2
-rw-r--r--rm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/rm.c b/coreutils/rm.c
index a5b2ef420..a3542aaf6 100644
--- a/coreutils/rm.c
+++ b/coreutils/rm.c
@@ -102,8 +102,8 @@ extern int rm_main(int argc, char **argv)
case 'f':
forceFlag = TRUE;
break;
- case 'i':
#ifdef BB_FEATURE_RM_INTERACTIVE
+ case 'i':
interactiveFlag = TRUE;
#endif
break;
diff --git a/rm.c b/rm.c
index a5b2ef420..a3542aaf6 100644
--- a/rm.c
+++ b/rm.c
@@ -102,8 +102,8 @@ extern int rm_main(int argc, char **argv)
case 'f':
forceFlag = TRUE;
break;
- case 'i':
#ifdef BB_FEATURE_RM_INTERACTIVE
+ case 'i':
interactiveFlag = TRUE;
#endif
break;