summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit.d/runtimes5
1 files changed, 2 insertions, 3 deletions
diff --git a/init.d/runtimes b/init.d/runtimes
index ffacd63..055f1ac 100755
--- a/init.d/runtimes
+++ b/init.d/runtimes
@@ -63,9 +63,8 @@ find_ovl() {
lines=$(echo "$ovl" | wc -l)
if [ $lines -gt 1 ] ; then
- # output the last line only
- ovl=$(echo "$ovl" | tail -n 1)
- echo "Warning: more than one apkovl file was found. Only $ovl will be used." >&2
+ echo "ERROR: More than one apkovl file was found on $(basename $mnt). None will be read." >&2
+ exit 1
fi
echo "$ovl"
}