Rewrite a comment and delete a unnecessary whitespace
This commit is contained in:
parent
9e73caa8e5
commit
7d1fd3fc98
1 changed files with 2 additions and 3 deletions
|
@ -679,8 +679,7 @@ main(int argc, char *argv[]) {
|
||||||
char *home = getenv("HOME");
|
char *home = getenv("HOME");
|
||||||
config_t cfg;
|
config_t cfg;
|
||||||
|
|
||||||
// This is a little workaround to get the home dir even if the user used
|
/* Get the home dir even if the user used sudo or logged in as root */
|
||||||
// sudo or logged in as root
|
|
||||||
if (sudo_uid) {
|
if (sudo_uid) {
|
||||||
i = atoi(sudo_uid);
|
i = atoi(sudo_uid);
|
||||||
pw = getpwuid(i);
|
pw = getpwuid(i);
|
||||||
|
|
Loading…
Reference in a new issue