Commit 86a7230c authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

Ahem, deal with the result of stat() correctly

Signed-off-by: 's avatarFederico Mena Quintero <>

svn path=/trunk/; revision=411
parent 5865f97d
......@@ -590,7 +590,7 @@ libslab_checkpoint_init (const char *checkpoint_config_file_basename,
result = stat (filename, &st);
g_free (filename);
if (!result)
if (result != 0)
t = time (NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment