Skip to content

Commit 9b5b226

Browse files
committed
Fix bug in UUID identification function
1 parent fcfda4c commit 9b5b226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/piclone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ static gpointer backup_thread (gpointer data)
328328
// sanity check the ID
329329
if (strlen (uuid) == 9)
330330
{
331-
if (uuid[4] = '-')
331+
if (uuid[4] == '-')
332332
{
333333
// remove the hyphen from the middle of a FAT volume ID
334334
uuid[4] = uuid[5];

0 commit comments

Comments
 (0)