exit-when-error

This commit is contained in:
2023-11-09 14:35:50 +08:00
parent 0242c4e62a
commit 773995d095

View File

@@ -1,4 +1,5 @@
#!/bin/bash
set -e
if [ `which debootstrap` = "" ];then
echo "Need to install debootstrap!"
exit