author | Colin Watson <cjwatson@debian.org> | 2017-11-21 09:24:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-11-21 09:24:15 +0000 |
commit | 84bde8d8a9a357bd372793d25746ac6b49480525 (patch) | |
tree | 9f9171c87fb45de5a26bc7c94c37401f07b8cec3 | |
parent | f498f1bad6cb5bd154f1a10cbdafad0aa159bfd3 (diff) | |
download | man-db-84bde8d8a9a357bd372793d25746ac6b49480525.tar.gz |
-rw-r--r-- | src/man.c | 14 |
@@ -4120,18 +4120,18 @@ int main (int argc, char *argv[]) debug ("\nusing %s as pager\n", pager); if (first_arg == argc) { - /* http://twitter.com/#!/marnanel/status/132280557190119424 */ - time_t now = time (NULL); - struct tm *localnow = localtime (&now); - if (localnow && - localnow->tm_hour == 0 && localnow->tm_min == 30) - fprintf (stderr, "gimme gimme gimme\n"); - if (print_where) { manp = get_manpath (""); printf ("%s\n", manp); exit (OK); } else { + /* http://twitter.com/#!/marnanel/status/132280557190119424 */ + time_t now = time (NULL); + struct tm *localnow = localtime (&now); + if (localnow && + localnow->tm_hour == 0 && localnow->tm_min == 30) + fprintf (stderr, "gimme gimme gimme\n"); + free_cwd (&cwd); free (internal_locale); free (program_name); |