Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=bc26af312db228d2c0e3f6db90cda305716f590f

commit bc26af312db228d2c0e3f6db90cda305716f590f
Author: James Buren <[email protected]>
Date:   Sun Oct 20 15:19:11 2013 -0500

timeconfig: do not use file permissions when probing for /etc/adjtime

diff --git a/src/timeconfig.c b/src/timeconfig.c
index f84f081..5afa31d 100644
--- a/src/timeconfig.c
+++ b/src/timeconfig.c
@@ -97,7 +97,7 @@ static bool update_via_new(const char *zone,bool utc)
if(!execute(command,g->guestroot,0))
return false;

-  if(!ispathpresent("etc/adjtime",S_IFREG,0644))
+  if(!ispathpresent("etc/adjtime",S_IFREG,0))
{
strfcpy(command,sizeof(command),"hwclock --systohc %s",(utc) ? "--utc" : 
"--localtime");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to