On Mon, Aug 18, 2014 at 10:07:38PM +0200, Roberto E. Vargas Caballero wrote:
> I wrote it for personal use, but now that it is going to be part
> of ubase maybe is better to use die in some parts of the code, no?
Yeah eprintf() etc.
I wrote it for personal use, but now that it is going to be part
of ubase maybe is better to use die in some parts of the code, no?
> + if (ferror(last)) {
> + perror("error reading lastlog");
> + exit(EXIT_FAILURE);
> + }
...
> + if ((last = fopen(_PATH_LASTLO
commit e4677f290b9fbc6feceda0fbe406d19a8881faae
Author: Roberto E. Vargas Caballero
Date: Mon Aug 18 18:24:29 2014 +0100
Add lastlog(8)
At the moment this does not work with ubase login(1). We should
add support to login(1) to write the lastlog entries.
Minor modifica