1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

dmeventd_thin: internal command without lvm prefix

Internal command processing needs to go without 'lvm ' prefix.
This commit is contained in:
Zdenek Kabelac 2017-01-21 17:37:01 +01:00
parent 85dab3963f
commit 2e0605d6db

View File

@ -375,7 +375,8 @@ int register_device(const char *device,
dm_split_words(str, maxcmd - 1, 0, state->argv);
_init_thread_signals(state);
}
} else
memmove(state->cmd_str, state->cmd_str + 4, strlen(state->cmd_str + 4) + 1);
state->pid = -1;
*user = state;