From 4dd2e80f9938afe80dc116c415241206dfc35385 Mon Sep 17 00:00:00 2001 From: Kali- Date: Sun, 17 Oct 2010 21:56:20 +0200 Subject: [PATCH] Verify cache size: added exit code --- prebuilt/common/bin/verify_cache_partition_size.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prebuilt/common/bin/verify_cache_partition_size.sh b/prebuilt/common/bin/verify_cache_partition_size.sh index 9f8ea649..07dd34e8 100644 --- a/prebuilt/common/bin/verify_cache_partition_size.sh +++ b/prebuilt/common/bin/verify_cache_partition_size.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/sbin/sh # # Force /system dalvik-cache on /data instead of /cache if is not large enough # @@ -8,3 +8,5 @@ if [ $CACHESIZE -lt 60000 ] then echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop fi + +exit 0