mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 02:05:11 +01:00
upgrade: suppress error
This commit is contained in:
@@ -273,7 +273,7 @@ else
|
||||
else
|
||||
thick_jail_check "${TARGET}"
|
||||
fi
|
||||
OLD_RELEASE="$(${bastille_jailsdir}/${TARGET}/root/bin/freebsd-version)"
|
||||
OLD_RELEASE="$(${bastille_jailsdir}/${TARGET}/root/bin/freebsd-version 2>/dev/null)"
|
||||
if [ -z "${OLD_RELEASE}" ]; then
|
||||
OLD_RELEASE="$(bastille config ${TARGET} get osrelease)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user