Change Cryptsetup validation (#8482)

Co-authored-by: lucas.martins.scclouds <lucas.martins@scclouds.com.br>
This commit is contained in:
Lucas Martins 2024-01-31 10:23:53 -03:00 committed by GitHub
parent fedcf66de0
commit 39e0a8e8d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ public class CryptSetup {
public boolean isSupported() { public boolean isSupported() {
final Script script = new Script(commandPath); final Script script = new Script(commandPath);
script.add("--usage"); script.add("--version");
final String result = script.execute(); final String result = script.execute();
return result == null; return result == null;
} }