inhies / cjdcmd

cjdcmd is a command line tool for cjdns
Other
43 stars 16 forks source link

Sudo user detection and cleanup of misc.go #43

Closed rossdylan closed 10 years ago

rossdylan commented 11 years ago

Ran a go fmt on misc.go and added some code to loadCjdnsadmin to check if it is being run with sudo. If it is we check to see if there is a .cjdnsadmin file under that user, if there isn't we go back to checking the current user

inhies commented 10 years ago

Merged with 36e93b9b881848c334e2cd88fb059bc75ae1959f

Thank you!