more checks

This commit is contained in:
2022-12-07 23:41:23 -08:00
parent a4d7e3006f
commit e5b775c597

View File

@@ -56,6 +56,14 @@ check() {
echo "hint: mount -t drvfs //truenas.home.weaver/dayz $DAYZ_FILES"
exit 1
fi
if [ ! -d "$MAIN" ] ; then
die "$MAIN does not exist"
fi
if [ ! -d "$STOCK_SERVER_DATA" ] ; then
die "$STOCK_SERVER_DATA does not exist"
fi
}
# -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*