fff-layer3-config: fix exit status of uci-default scripts #323

Closed
fbl wants to merge 1 commits from fbl/firmware:clear-uci-defaults into master
Owner

OpenWrt only removes uci-defaults scripts if the exit status of the
executed script is 0. Fix the exit code of the layer3-config migration
scripts so they are removed as intended.

Fixes: #313

OpenWrt only removes uci-defaults scripts if the exit status of the executed script is 0. Fix the exit code of the layer3-config migration scripts so they are removed as intended. Fixes: #313
fbl added this to the 20240401-beta milestone 2024-03-17 22:04:28 +01:00
fbl added 1 commit 2024-03-17 22:04:29 +01:00
c56f090c78 fff-layer3-config: fix exit status of uci-default scripts
OpenWrt only removes uci-defaults scripts if the exit status of the
executed script is 0. Fix the exit code of the layer3-config migration
scripts so they are removed as intended.

Fixes: #313

Signed-off-by: Fabian Bläse <fabian@blaese.de>
fbl force-pushed clear-uci-defaults from c56f090c78 to dbdd250289 2024-03-21 21:54:34 +01:00 Compare
Author
Owner

Changes:

  • Also use correct exit code when exiting prematurely, if no migration is necessary
Changes: - Also use correct exit code when exiting prematurely, if no migration is necessary
Author
Owner

Applied.

Applied.
fbl closed this pull request 2024-03-21 21:57:06 +01:00
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_closed/woodpecker Pipeline is pending

Pull request closed

Sign in to join this conversation.
No description provided.