su - was not the best command to use there since it ignores the env of root as user. Removing the - fixes it.
It's one characted, but it'd be nice to have it reviewed anyhow :)
When this is fixed, I will also send in a pull request for a travis CI setup I made to discuss whether this is the best way to prevent those issues from happening :)
su - was not the best command to use there since it ignores the env of root as user. Removing the - fixes it.
It's one characted, but it'd be nice to have it reviewed anyhow :)
When this is fixed, I will also send in a pull request for a travis CI setup I made to discuss whether this is the best way to prevent those issues from happening :)