diff options
-rwxr-xr-x | sfeed_update | 2 | ||||
-rw-r--r-- | sfeed_update.1 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfeed_update b/sfeed_update index 7d11f18..d153d8a 100755 --- a/sfeed_update +++ b/sfeed_update @@ -212,4 +212,4 @@ main() { exit 0 } -[ "${SFEED_UPDATE_INCLUDE}" = "1" ] || main "$@" +[ "${SFEED_UPDATE_INCLUDE}" != "" ] || main "$@" diff --git a/sfeed_update.1 b/sfeed_update.1 index 552c81d..c3274ee 100644 --- a/sfeed_update.1 +++ b/sfeed_update.1 @@ -1,4 +1,4 @@ -.Dd January 24, 2021 +.Dd January 27, 2021 .Dt SFEED_UPDATE 1 .Os .Sh NAME @@ -47,7 +47,7 @@ The feedname cannot contain '/' characters, they will be replaced with '_'. .Sh ENVIRONMENT VARIABLES .Bl -tag -width Ds .It SFEED_UPDATE_INCLUDE -When set +When set with a value .Nm can be sourced as a script, but it won't run the .Fn main |