Skip to content

Commit

Permalink
falter-common: fix ffwizard uci script exit code
Browse files Browse the repository at this point in the history
The config data already being present is not an error condition.

The script will only be deleted if it exits zero, which means
it will be retried on the next boot if it exits non-zero.

The other check (availability of the translation script)
is a legitimate error condition and we want to retry that.

Signed-off-by: Packet Please <pktpls@systemli.org>
  • Loading branch information
pktpls committed Jan 29, 2024
1 parent 1da2446 commit 40d6396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

# check, if there is the needed information already set
if [ ! -f /etc/config/ffwizard ]; then
exit 1
exit 0
fi

# create a ffwizard3-file, if there is none already
Expand Down

0 comments on commit 40d6396

Please sign in to comment.