aboutsummaryrefslogtreecommitdiff
path: root/libbb/remove_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/remove_file.c')
-rw-r--r--libbb/remove_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/remove_file.c b/libbb/remove_file.c
index 8a1324393..074ffae70 100644
--- a/libbb/remove_file.c
+++ b/libbb/remove_file.c
@@ -41,7 +41,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
41 ) { 41 ) {
42 fprintf(stderr, "%s: descend into directory '%s'? ", applet_name, 42 fprintf(stderr, "%s: descend into directory '%s'? ", applet_name,
43 path); 43 path);
44 if (!bb_ask_confirmation()) 44 if (!bb_ask_y_confirmation())
45 return 0; 45 return 0;
46 } 46 }
47 47
@@ -68,7 +68,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
68 68
69 if (flags & FILEUTILS_INTERACTIVE) { 69 if (flags & FILEUTILS_INTERACTIVE) {
70 fprintf(stderr, "%s: remove directory '%s'? ", applet_name, path); 70 fprintf(stderr, "%s: remove directory '%s'? ", applet_name, path);
71 if (!bb_ask_confirmation()) 71 if (!bb_ask_y_confirmation())
72 return status; 72 return status;
73 } 73 }
74 74
@@ -92,7 +92,7 @@ int FAST_FUNC remove_file(const char *path, int flags)
92 || (flags & FILEUTILS_INTERACTIVE) 92 || (flags & FILEUTILS_INTERACTIVE)
93 ) { 93 ) {
94 fprintf(stderr, "%s: remove '%s'? ", applet_name, path); 94 fprintf(stderr, "%s: remove '%s'? ", applet_name, path);
95 if (!bb_ask_confirmation()) 95 if (!bb_ask_y_confirmation())
96 return 0; 96 return 0;
97 } 97 }
98 98