]> git.proxmox.com Git - pmg-api.git/commit
pmg-daily: avoid short-circuting update of local channels
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 13 Jul 2022 09:09:35 +0000 (11:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Jul 2022 09:13:07 +0000 (11:13 +0200)
commit991d8f1c96f07d1529b1e1477c410d9e9dfa3948
treeb6fbdbfe5f0d1102a938495fab73d01539563075
parent60069d9d4561cca097c4f38fb3c868895a6801e4
pmg-daily: avoid short-circuting update of local channels

by using ||= directly with the actual update call, it does not get
run, if `sa-update` already returned that a restart is needed.

reported in our community forum:
https://forum.proxmox.com/threads/.112112/

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/bin/pmg-daily