Skip to content

Commit

Permalink
xinetd: fix syntax violation
Browse files Browse the repository at this point in the history
see openwrt/packages#16318 (comment)

Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
  • Loading branch information
selanf authored and 1715173329 committed Aug 14, 2021
1 parent 11dd701 commit 86c80f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/xinetd/files/xinetd.init
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ config_cb() {
local value="$2"

# write out last list option if new list starts
if [ "$ListName" != "" -a "$ListName" != "$name" ]; then
if [ -n "$ListName" ] && [ "$ListName" != "$name" ]; then

echo -e "\t$ListName = $ListVals" >> $GENERATED_CONF_FILE

Expand Down

0 comments on commit 86c80f6

Please sign in to comment.