Files
scale-build/scripts/functions.sh

14 lines
160 B
Bash

#!/bin/sh
exit_err() {
if [ -n "$2" ] ; then
EXIT_CODE=$2
else
EXIT_CODE=1
fi
del_overlayfs
del_bootstrapdir
echo "ERROR: $1" >&2
exit $EXIT_CODE
}