From 394ffefd882b99bdbfead397ccab0b771ec4b0fe Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 5 Aug 2015 12:49:51 +0200 Subject: sfeed_update, opml_export: slightly safer comparison --- sfeed_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfeed_update') diff --git a/sfeed_update b/sfeed_update index ed5f2e4..30b2c67 100755 --- a/sfeed_update +++ b/sfeed_update @@ -10,7 +10,7 @@ sfeeddir="${sfeedpath}/feeds" # loadconfig(configfile) loadconfig() { # allow to specify config via argv[1]. - if [ ! "$1" = "" ]; then + if [ ! x"$1" = x"" ]; then # get absolute path of config file. config=$(readlink -f "$1") else -- cgit v1.2.3