mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Removing 'hostname -d' output from stdout during postinstall
This commit is contained in:
parent
b39d5a49e5
commit
cc62c226d7
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
|||
os.system('chmod 755 /home/yunohost.app')
|
||||
|
||||
# Set hostname to avoid amavis bug
|
||||
if os.system('hostname -d') != 0:
|
||||
if os.system('hostname -d >/dev/null') != 0:
|
||||
os.system('hostname yunohost.yunohost.org')
|
||||
|
||||
# Add a temporary SSOwat rule to redirect SSO to admin page
|
||||
|
|
Loading…
Add table
Reference in a new issue