aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-12-13 17:09:21 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-12-13 17:09:21 +0100
commit8fa7e236cffa7cc60c1557a69db69bfc7f42c075 (patch)
treeac214eb1ee4469016075e070f6d7812eaea2dede
parentwg-quick: print actual arguments (diff)
downloadandroid_kernel_wireguard-8fa7e236cffa7cc60c1557a69db69bfc7f42c075.tar.xz
android_kernel_wireguard-8fa7e236cffa7cc60c1557a69db69bfc7f42c075.zip
standalone-tools: more error handling
-rw-r--r--standalone-tools/installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone-tools/installer.sh b/standalone-tools/installer.sh
index c285e4c..11838a1 100644
--- a/standalone-tools/installer.sh
+++ b/standalone-tools/installer.sh
@@ -27,7 +27,7 @@ mount_system() {
if grep -q /system /proc/mounts; then
print "Remounting system partition r/w"
- mount -o rw,remount /system
+ mount -o rw,remount /system || die "Could not remount system partition r/w"
else
print "Mounting system partition"