When I attempt to delete non-existent storage, the command line doesn't return a non-zero exit code. Is this a bug?
How can I check that the storage is successfully removed? I'm running this in a pipeline and want to be able to tell when it fails.
Thanks
Code:
$ sudo qm set 148 --delete scsi0
update VM 148: -delete scsi0
cannot delete 'scsi0' - not set in current configuration!
$ echo $?
0
How can I check that the storage is successfully removed? I'm running this in a pipeline and want to be able to tell when it fails.
Thanks