diff --git a/scripts/_common.sh b/scripts/_common.sh index 77b2812..1e2bd82 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -376,6 +376,8 @@ ynh_smart_mktemp () { local tmpdir=/ elif is_there_enough_space /home; then local tmpdir=/home + else + ynh_die "Insufficient free space to continue..." fi echo "$(sudo mktemp --directory --tmpdir="$tmpdir")"