We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683b6ef commit c5e36a4Copy full SHA for c5e36a4
ugrd/crypto/cryptsetup.py
@@ -132,7 +132,7 @@ def crypt_init(self):
132
parameters.pop('key_file')
133
parameters.pop('key_command')
134
out += [f'\ncryptsetup status {name}',
135
- 'if [$? -ne 0]; then',
+ 'if [ $? -ne 0 ]; then',
136
f' echo "Failed to open device using keys: {name}"']
137
out += [f' {bash_line}' for bash_line in open_crypt_device(self, name, parameters)]
138
out += ['fi']
0 commit comments