diff options
author | poeplva <132710624+poeplva@users.noreply.github.com> | 2023-10-27 21:58:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-27 18:58:05 +0000 |
commit | 54c0aa2af8e0b998d1666a13bd86e6abcd08a291 (patch) | |
tree | da45302389ade6bafdfbd89defdad1e3f1806844 /%25253fid%25253d1e3adf9c03b2e563e81a13d6907ffd5ca20b887a%253fid%253d1e3adf9c03b2e563e81a13d6907ffd5ca20b887a%3fid%3dca8cb1f6a7513e52b112b99a686844a587cebd89?id=54c0aa2af8e0b998d1666a13bd86e6abcd08a291 | |
parent | bca6b403eb61df8f36e543a95ea48a07e546a9d3 (diff) |
none of the encrypted devices are listed if no drives are decrypted already (#1338)
The part
```
for open in $decrypted; do
[ "$uuid" = "$open" ] && break 1
done
```
exits with `0` if the variable `$decrypted` is empty, causing none of the encrypted devices to be put into the `$unopenedluks` variable. This commit fixes this problem.
Diffstat (limited to '%25253fid%25253d1e3adf9c03b2e563e81a13d6907ffd5ca20b887a%253fid%253d1e3adf9c03b2e563e81a13d6907ffd5ca20b887a%3fid%3dca8cb1f6a7513e52b112b99a686844a587cebd89?id=54c0aa2af8e0b998d1666a13bd86e6abcd08a291')
0 files changed, 0 insertions, 0 deletions