Should exclude "i" option when not enabled.
authorEric Andersen <andersen@codepoet.org>
Mon, 19 Mar 2001 18:59:01 +0000 (18:59 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 19 Mar 2001 18:59:01 +0000 (18:59 -0000)
coreutils/rm.c
rm.c

index a5b2ef42034f18f674a242df62ea4a29a3ca4c6b..a3542aaf63da7747751ed813f249cb9522d4ff37 100644 (file)
@@ -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 a5b2ef42034f18f674a242df62ea4a29a3ca4c6b..a3542aaf63da7747751ed813f249cb9522d4ff37 100644 (file)
--- 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;