bugfix retriew username in praytime cron via crontab
This commit is contained in:
parent
74859b0499
commit
4960e2f5ff
|
@ -272,6 +272,9 @@ class Pluie.PrayTime : GLib.Object
|
||||||
if (user == null) {
|
if (user == null) {
|
||||||
user = Environment.get_variable ("USER");
|
user = Environment.get_variable ("USER");
|
||||||
}
|
}
|
||||||
|
if (user == null) {
|
||||||
|
user = Environment.get_variable ("LOGNAME");
|
||||||
|
}
|
||||||
Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE);
|
Dbg.out (Log.METHOD, null, Log.LINE, Log.FILE);
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user