Skip to content

Commit

Permalink
fix upgrade protect bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rufengsuixing committed Jan 4, 2020
1 parent 8a97e18 commit ac3d040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/init.d/AdGuardHome
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ start_service() {

# hack to save config file when upgrade system
config_get upprotect $CONFIGURATION upprotect ""
eval upprotect=${upprotect// /\\n}
eval upprotect=${upprotect// /\\\\n}
echo -e "$upprotect">/lib/upgrade/keep.d/luci-app-adguardhome

config_get logfile $CONFIGURATION logfile ""
Expand Down

0 comments on commit ac3d040

Please sign in to comment.