From d6be6f38bf6c0e2e09fdbbdea8bbba5398117da8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 24 Dec 2015 20:22:31 -0500 Subject: [PATCH] redshift-check: reset cwd to / rather than $HOME This way we still work when HOME is unset. --- .bin/redshift-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/redshift-check b/.bin/redshift-check index b7f2d38..9481c09 100755 --- a/.bin/redshift-check +++ b/.bin/redshift-check @@ -21,7 +21,7 @@ rs() { } main() { - cd + cd / export DISPLAY=:0 while [[ $# -gt 0 ]] ; do -- 2.39.5