mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 13:13:18 +08:00
Added warning for a && b || c
This commit is contained in:
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
|
Reference in New Issue
Block a user