Merge pull request #1259 from mmichal10/detect-fs

Fix standby detach
This commit is contained in:
Robert Baldyga 2022-07-05 08:36:46 +02:00 committed by GitHub
commit fbe0fc90ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2116,9 +2116,11 @@ int standby_handle() {
return FAILURE;
}
if (validate_cache_path(standby_params.cache_device,
standby_params.force) == FAILURE) {
return FAILURE;
if (standby_params.subcmd != standby_opt_subcmd_detach) {
if (validate_cache_path(standby_params.cache_device,
standby_params.force) == FAILURE) {
return FAILURE;
}
}
switch (standby_params.subcmd) {