fix the help output in case someone has a better name
fix display of command name
ensure cmd is NULL
shoot stray variable
allow users to hang themselves.
fix uid/gid issue when used with sudo
fix a little oops.
tick tock makes the clock.
Merge branch 'master' of github.com:fogobogo/wakeup
Merge branch 'falc'
remove unnecessary headers
yay! ebcdic compliance!
make time parsing slightly more robust
and a little simpler, too
execute suspend command via shell
Add process call via signal callback
add -a flag for specifying time in seconds from epoch
Merge branches 'falc' and 'master'
added sigevent. however i wouldn't advise usage
fix amusing bug
move itimerspec to create_timer since its local to the function
increment return values in main
This makes creation of a test suite for time parsing easier.
fix error in comparison
lump h/m/s into a struct
add helper function to convert struct to seconds
avoid unnecessary lookahead
Worst case scenario, we multiply 10 * 0.
restore lost info output on successful timer set
exit from the subshell with error when suspend fails
allow specifying a different command for suspend
use a more descriptive error message when execl fails
use a single invocation of printf
already return to main with an error/success value
avoid global hour, min, sec vars