From 8cf2d6cc6ab57f88e6d7963f986fb74e7e9058ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20Sch=C3=B6ttl?= Date: Sat, 23 Jan 2016 22:46:04 -0800 Subject: [PATCH] Avoid glob expansion on rhs and linter warning! --- tdrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrop b/tdrop index 582f590..4827d68 100755 --- a/tdrop +++ b/tdrop @@ -225,7 +225,7 @@ update_geometry_settings_for_monitor() { local last_monitor last_monitor=$(< /tmp/tdrop/last_monitor) echo "$current_monitor" > /tmp/tdrop/last_monitor - if [[ $current_monitor != $last_monitor ]]; then + if [[ $current_monitor != "$last_monitor" ]]; then monitor_changed=true fi }