mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] missing brackets for testing saferemove output
This commit is contained in:
parent
e93b036830
commit
8196717e96
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ if [ -f /etc/yunohost/installed ]; then
|
|||
| sed 's|/etc/nginx/conf.d/||' \
|
||||
| sed 's|.conf||')
|
||||
[[ $domain_list =~ $domain ]] \
|
||||
|| ($(sudo yunohost service saferemove -s nginx $file) == "True" \
|
||||
|| ([[ $(sudo yunohost service saferemove -s nginx $file) == "True" ]] \
|
||||
&& (rm -r /etc/nginx/conf.d/$domain.d || true))
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue