From 96ef64de0a1b177de2750c20e2d97a4f3767fb6e Mon Sep 17 00:00:00 2001 From: Stefin Date: Tue, 23 Aug 2022 21:37:20 +0530 Subject: [PATCH] rm: change InteractiveMode::Default to InteractiveMode::PromptProtected Signed-off-by: Stefin --- src/uu/rm/src/rm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/rm/src/rm.rs b/src/uu/rm/src/rm.rs index 96ab77431ff..80f1c8cd9bb 100644 --- a/src/uu/rm/src/rm.rs +++ b/src/uu/rm/src/rm.rs @@ -29,7 +29,7 @@ enum InteractiveMode { Never, Once, Always, - Default, + PromptProtected, } struct Options { @@ -115,7 +115,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { } } } else { - InteractiveMode::Default + InteractiveMode::PromptProtected } }, one_fs: matches.contains_id(OPT_ONE_FILE_SYSTEM),