diff --git a/scripts/util_functions.sh b/scripts/util_functions.sh index cc84dfea6..1bd4f9559 100644 --- a/scripts/util_functions.sh +++ b/scripts/util_functions.sh @@ -810,7 +810,7 @@ install_module() { rm -rf \ $MODPATH/system/placeholder $MODPATH/customize.sh \ $MODPATH/README.md $MODPATH/.git* - rmdir -p $MODPATH + rmdir -p $MODPATH 2>/dev/null cd / $BOOTMODE || recovery_cleanup