diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-05 12:49:51 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-05 13:03:15 +0200 |
commit | 394ffefd882b99bdbfead397ccab0b771ec4b0fe (patch) | |
tree | 9657ee0d607d55cf068230efd40439ae8558e7ae /sfeed_update | |
parent | 44225e7fd3216f814b0c687a22dedffb375468fe (diff) |
sfeed_update, opml_export: slightly safer comparison
Diffstat (limited to 'sfeed_update')
-rwxr-xr-x | sfeed_update | 2 |
1 files changed, 1 insertions, 1 deletions
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 |