mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-14 10:37:26 -07:00
Added warning for a && b || c
This commit is contained in:
parent
67d27ea42d
commit
69183f6609
2 changed files with 10 additions and 1 deletions
2
badcase/poormansif
Normal file
2
badcase/poormansif
Normal file
|
@ -0,0 +1,2 @@
|
|||
# When the network goes down, the backup gets deleted
|
||||
[[ ! -z backup ]] && scp backup host: || rm backup
|
Loading…
Add table
Add a link
Reference in a new issue