Skip to content

Commit 0c212a4

Browse files
fix EDIE and remove for custom distro
1 parent 79c19db commit 0c212a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

udroid/src/udroid.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ EDIE() {
4545
echo -e "\e[1m${defer_func} failed\e[0m - ignoring"
4646
}
4747
fi
48+
49+
exit 1
4850
}
4951

5052
# Fetch distro data from the internet and save it to RTCACHE
@@ -1023,7 +1025,7 @@ remove() {
10231025
case $1 in
10241026
--name) distro=$2; LOG "remove(): --name supplied to $name"; shift 2;;
10251027
--path) path=$2; LOG "remove(): looking in $path"; shift 2;;
1026-
--custom|--custom-distro|-cd) custom_remove $@ ;;
1028+
--custom|--custom-distro|-cd) shift; custom_remove $@ ;;
10271029
--reset) reset=true; shift 1;;
10281030
--help) help_remove; exit 0;;
10291031
*)

0 commit comments

Comments
 (0)