Parcourir la source

fix syntax error

HgO il y a 11 mois
Parent
commit
a72cb1bef0
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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"