--- misc-utils/uuidgen.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/misc-utils/uuidgen.c b/misc-utils/uuidgen.c index 3cf6ec9..47f8e8f 100644 --- a/misc-utils/uuidgen.c +++ b/misc-utils/uuidgen.c @@ -59,7 +59,9 @@ main (int argc, char *argv[]) switch (do_type) { case DO_TYPE_TIME: - uuid_generate_time(uu); + if (uuid_generate_time_safe(uu)) { + fprintf(stderr, _("Warning: uuidd not running or not operational. Time based uuid may not be unique.\n")); + } break; case DO_TYPE_RANDOM: uuid_generate_random(uu); -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html