Displaying 1 result from an estimated 1 matches for "changecmdarg".
2011 Oct 27
1
delete lvm problem: exited with non-zero status 5 and signal 0
...LVREMOVE, "-f",vol->target.path, NULL
};
virCheckFlags(0, -1);
virFileWaitForDevices();
if (virRun(cmdargv, NULL) < 0)
return -1;
return 0;
}
Could I change it like this: ?
if (virRun(cmdargv, NULL) < 0)
const char *changeCmdarg[] = {
LVCHANGE, "-a", "n", vol->target.path, NULL
};
if(virRun(changeCmdarg, NULL) < 0)
return -1;
else
if(virRun(cmdargv,NULL) < 0)
return -1;
________________________________
This email (incl...