Continued bash cleanup

This commit is contained in:
Jason Ertel
2020-11-15 09:57:12 -05:00
parent d22040fb5d
commit 76c917d977
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
. /usr/sbin/so-common
source $(dirname $0)/so-common
if [[ $# -lt 1 || $# -gt 2 ]]; then
echo "Usage: $0 <list|add|update|enable|disable|validate|valemail|valpass> [email]"

View File

@@ -2040,7 +2040,7 @@ set_updates() {
fi
}
set_version() {
mark_version() {
# Drop a file with the current version
echo "$SOVERSION" > /etc/soversion
}

View File

@@ -454,7 +454,7 @@ if [[ $is_minion ]]; then
fi
{
set_version;
mark_version;
clear_manager;
} >> $setup_log 2>&1