Fix missing function call
This commit is contained in:
parent
9c644ac828
commit
497d009c26
@ -36,11 +36,11 @@ generate() {
|
||||
}
|
||||
|
||||
update() {
|
||||
s6-rc-update "$S6_SV_PATH/current.$DB_FRESH_ACT" || ERR="$?" "Failed to update live state of the database"
|
||||
s6-rc-update "$S6_SV_PATH/current.$DB_FRESH_ACT" || ERR="$?" error "Failed to update live state of the database"
|
||||
}
|
||||
|
||||
swap() {
|
||||
ln -sfn "current.$DB_FRESH_NAC" "$S6_SV_PATH/current" || ERR="$?" "Failed to update A/B current symlink"
|
||||
ln -sfn "current.$DB_FRESH_NAC" "$S6_SV_PATH/current" || ERR="$?" error "Failed to update A/B current symlink"
|
||||
}
|
||||
|
||||
for act in $@; do
|
||||
|
Loading…
Reference in New Issue
Block a user