mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-30 17:18:21 +03:00
pool: do not pass empty string in callback
When preparing cmdline to executing dmpd tool, avoid adding empty string ("") on such line.
This commit is contained in:
parent
e36028b7d2
commit
e022805f1d
@ -2529,7 +2529,8 @@ static int _pool_callback(struct dm_tree_node *node,
|
||||
data->global);
|
||||
return 0;
|
||||
}
|
||||
argv[++args] = cv->v.str;
|
||||
if (cv->v.str[0])
|
||||
argv[++args] = cv->v.str;
|
||||
}
|
||||
|
||||
if (args == 16) {
|
||||
|
Loading…
Reference in New Issue
Block a user