mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
firmware: correct invisible error in health check
This commit is contained in:
parent
23c7c6f249
commit
efbe2d5e98
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (C) 2017-2018 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (C) 2017-2019 Franco Fichtner <franco@opnsense.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -66,8 +66,9 @@ set_check()
|
||||
VER=$(opnsense-version -v ${SET})
|
||||
|
||||
echo ">>> Check installed ${SET} version" >> ${PKG_PROGRESS_FILE}
|
||||
|
||||
if [ -z "${VER}" -o -z "${VERSION}" ]; then
|
||||
echo "Failed to determine version info."
|
||||
echo "Failed to determine version info." >> ${PKG_PROGRESS_FILE}
|
||||
elif [ "${VER}" != "${VERSION}" ]; then
|
||||
echo "Version ${VER} is incorrect: expected ${VERSION}" >> ${PKG_PROGRESS_FILE}
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user