Skip to content

Commit 6a3cdfc

Browse files
committed
rmlwk: nuke useless "ask" function
1 parent 5e419d4 commit 6a3cdfc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

module/system/bin/rmlwk

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,6 @@ function nuke_if_we_dont_have_internet() {
171171
ping -c 1 -w 5 raw.githubusercontent.com &>/dev/null || abort "Please check your internet connection and try again."
172172
}
173173

174-
function ask() {
175-
local question="$1"
176-
local answer
177-
printf "- $question (y/n): "
178-
read -r answer
179-
if [ "$(tolower "$answer")" = "y" ]; then
180-
return 0
181-
else
182-
return 1
183-
fi
184-
}
185-
186174
# Fallback to busybox wget if curl binary is not available
187175
function fetch() {
188176
PATH=/data/adb/ap/bin:/data/adb/ksu/bin:/data/adb/magisk:/data/data/com.termux/files/usr/bin:$PATH

0 commit comments

Comments
 (0)