summaryrefslogtreecommitdiff
path: root/.tools/init.sh
diff options
context:
space:
mode:
Diffstat (limited to '.tools/init.sh')
-rwxr-xr-x.tools/init.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/.tools/init.sh b/.tools/init.sh
index a2bda610..0315f39a 100755
--- a/.tools/init.sh
+++ b/.tools/init.sh
@@ -16,7 +16,7 @@ function gitclone {
git clone $*
fi
fi
- check_error
+ check_error $?
}
function aptget_update {
@@ -29,7 +29,7 @@ function aptget_update {
apt-get update
fi
fi
- check_error
+ check_error $?
}
function aptget_install {
@@ -42,12 +42,12 @@ function aptget_install {
apt-get -y -qq install $*
fi
fi
- check_error
+ check_error $?
}
function clientdata_init {
mkdir shared
cd ..
ln -s clientdata client-data
- check_error
+ check_error $?
}