diff options
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index b8c44f40..41200e8e 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -166,7 +166,7 @@ static int sync_synctree(list_t *syncs) /* get the lastupdate time */ lastupdate = alpm_db_getinfo(sync->db, PM_DB_LASTUPDATE); - if(lastupdate == NULL) { + if(strlen(lastupdate) == 0) { vprint("failed to get lastupdate time for %s (no big deal)\n", sync->treename); } |