diff options
-rw-r--r-- | updater.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/updater.lua b/updater.lua index 7313ab0..9939f60 100644 --- a/updater.lua +++ b/updater.lua @@ -15,10 +15,12 @@ end local mode = uci_cursor:get("updater", "turris", "mode") local animal = uci_cursor:get("updater", "turris", "branch") if mode and mode ~= "branch" then - DIE("Only branch mode allowed for personal-pkgs, used: " .. tostring(mode)) + WARN("Only branch mode allowed for personal-pkgs, used: " .. tostring(mode)) + return end if animal ~= "hbd" and animal ~= "hbk" then - DIE("Unsupported branch for personal-pkgs: " .. tostring(animal)) + WARN("Unsupported branch for personal-pkgs: " .. tostring(animal)) + return end Repository("personal-pkgs", animal .. "/" .. board) |