remove always update if branch specified

This commit is contained in:
m0duspwnens
2020-07-29 10:50:11 -04:00
parent b67e3507d3
commit dca3855f81

View File

@@ -153,7 +153,7 @@ update_version() {
upgrade_check() {
# Let's make sure we actually need to update.
NEWVERSION=$(cat $UPDATE_DIR/VERSION)
if [ "$INSTALLEDVERSION" == "$NEWVERSION" ] && [ -z "$SOUP_BRANCH" ]; then
if [ "$INSTALLEDVERSION" == "$NEWVERSION" ]; then
echo "You are already running the latest version of Security Onion."
exit 0
fi