Add the -g option to ntpd
[framework/connectivity/connman.git] / plugins / ntpd.c
index fa74ea8..731fa46 100644 (file)
@@ -158,6 +158,7 @@ static int ntpdate(void)
                goto error_task;
        }
 
+       connman_task_add_argument(ntpdate->task, "-g", NULL);
        connman_task_add_argument(ntpdate->task, "-q", NULL);
 
        /* The servers are added through a temp configuration file */