Fix missing function call

This commit is contained in:
Alex D. 2022-03-21 12:30:01 +00:00
parent 9c644ac828
commit 497d009c26
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
1 changed files with 2 additions and 2 deletions

View File

@ -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