Create default logs directory which is absent after git installations

This commit is contained in:
Denys Havrysh 2016-06-15 17:54:53 +03:00
parent e117569922
commit e96c58ea4d

View file

@ -6007,6 +6007,10 @@ config_salt() {
echowarn "No configuration or keys were copied over. No configuration was done!"
exit 0
fi
# Create default logs directory if not exists (happens with git installations)
mkdir -p /var/log/salt
return 0
}
#