mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Change Cryptsetup validation (#8482)
Co-authored-by: lucas.martins.scclouds <lucas.martins@scclouds.com.br>
This commit is contained in:
parent
fedcf66de0
commit
39e0a8e8d4
@ -108,7 +108,7 @@ public class CryptSetup {
|
||||
|
||||
public boolean isSupported() {
|
||||
final Script script = new Script(commandPath);
|
||||
script.add("--usage");
|
||||
script.add("--version");
|
||||
final String result = script.execute();
|
||||
return result == null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user