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 /.config/zsh%3fid%3d54c0aa2af8e0b998d1666a13bd86e6abcd08a291?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 '.config/zsh%3fid%3d54c0aa2af8e0b998d1666a13bd86e6abcd08a291?id=54c0aa2af8e0b998d1666a13bd86e6abcd08a291')
0 files changed, 0 insertions, 0 deletions