Skip to content

Commit

Permalink
noip: fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 14, 2017
1 parent b96704b commit dc2ddd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

[v0.34.9](https://github.com/nextcloud/nextcloudpi/commit/7e0e4e0) (2017-11-12) nc-nextcloud: restart php after redis
[v0.34.10](https://github.com/nextcloud/nextcloudpi/commit/de8b961) (2017-11-14) noip: fix return value

[v0.34.9 ](https://github.com/nextcloud/nextcloudpi/commit/e0dec54) (2017-11-12) nc-nextcloud: restart php after redis

[v0.34.8 ](https://github.com/nextcloud/nextcloudpi/commit/d0782ed) (2017-11-12) nc-init: install notifications

Expand Down
2 changes: 1 addition & 1 deletion etc/nextcloudpi-config.d/no-ip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ configure()
local IF=$( ip -br l | awk '{ if ( $2 == "UP" ) print $1 }' | head -1 )
[[ "$IF" != "" ]] && IF="-I $IF"

/usr/local/bin/noip2 -C -c /usr/local/etc/no-ip2.conf $IF -U "$TIME_" -u "$USER_" -p "$PASS_" | tee >(cat - >&2) \
/usr/local/bin/noip2 -C -c /usr/local/etc/no-ip2.conf $IF -U "$TIME_" -u "$USER_" -p "$PASS_" 2>&1 | tee >(cat - >&2) \
| grep -q "New configuration file .* created" || return 1

update-rc.d noip2 enable
Expand Down

0 comments on commit dc2ddd7

Please sign in to comment.