Commit 9e1ea712 authored by Mike Hibler's avatar Mike Hibler

Don't generate a UUID in info mode.

parent 6d76cc14
/*
* Copyright (c) 2000-2015 University of Utah and the Flux Group.
* Copyright (c) 2000-2018 University of Utah and the Flux Group.
*
* {{{EMULAB-LICENSE
*
......@@ -734,7 +734,7 @@ main(int argc, char *argv[])
* Generate a random UUID if one was not provided and we are
* not operating in compatibility mode.
*/
if (!compat && !got_imageid) {
if (!info && !compat && !got_imageid) {
int fd = open("/dev/urandom", O_RDONLY, 0);
if (fd < 0 ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment