From f0cc9c94948b59d8a60ac7b8e734c87b79b7b1f0 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 11 May 2014 19:02:08 +0200 Subject: [PATCH] Prints the UUID if set for the first time. --- cmdline/state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmdline/state.c b/cmdline/state.c index e7eb6360..716af1aa 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -1011,6 +1011,7 @@ static void state_map(struct snapraid_state* state) fprintf(stderr, "UUID change for disk '%s' from '%s' to '%s'\n", disk->name, map->uuid, uuid); } else { disk->had_empty_uuid = 1; + fprintf(stderr, "UUID set for disk '%s' to '%s'\n", disk->name, uuid); } /* update the uuid in the mapping, */