Codebase list datefudge / 47654b0
Don't fail when the date argument is equal to now datefudge.sh: don't fail when its date argument happens to be equal to the current time (i.e. make `datefudge now some_command' work) Robert Luberda 8 years ago
2 changed file(s) with 10 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3030 [ $? -eq 0 ] || exit 1
3131
3232 sec2=$(expr $(date '+%s') - $sec1)
33 [ $? -eq 0 ] || exit 1
33 # According to its documentation expr returns exit status 1,
34 # when the expression evaluates to 0
35 [ $? -le 1 ] || exit 1
3436
3537 add_ld_preload()
3638 {
0 datefudge (1.21~) UNRELEASED; urgency=medium
1
2 * datefudge.sh: don't fail when its date argument happens to be equal
3 to the current time (i.e. make `datefudge now some_command' work).
4
5 -- Robert Luberda <robert@debian.org> Sat, 13 Feb 2016 13:18:16 +0100
6
07 datefudge (1.20) unstable; urgency=medium
18
29 * datefudge.c: don't override time(2) on GNU/Hurd, as it seems to