Open vanosg opened 10 years ago
The run git as user commit, does it actually do anything? It checks the current user and then runs git as the current user, which I would think is the default behavior?
logname checks the user who initiated the sudo command. git fetch is being run as the root user, as it was called via the sudo command.
Check to see if network connectivity is available before running script- if we can't connect to the internet, how can we update!