Browse Source

fix syntax error

HgO 11 months ago
parent
commit
a72cb1bef0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/upgrade

+ 2 - 2
scripts/upgrade

@@ -36,9 +36,9 @@ if [ -e "/etc/sudoers.d/${app}_ynh" ]; then
   ynh_secure_remove "/etc/sudoers.d/${app}_ynh"
 fi
 
-for script_path in $(ls /etc/openvpn/scripts/route-*.d/10-vpnclient-{set-firewall,unset-firewall} 2> /dev/null); then
+for script_path in $(ls /etc/openvpn/scripts/route-*.d/10-vpnclient-{set-firewall,unset-firewall} 2> /dev/null); do
   ynh_secure_remove "$script_path"
-fi
+done
 
 if [ -e "/etc/yunohost/hooks.d/90-vpnclient.tpl" ]; then
   ynh_secure_remove "/etc/yunohost/hooks.d/90-vpnclient.tpl"