diff options
Diffstat (limited to 'localmarkdown2sms')
-rwxr-xr-x | localmarkdown2sms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localmarkdown2sms b/localmarkdown2sms index be74724..896b34f 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -69,7 +69,7 @@ if ($debug) { Log::Log4perl->easy_init($ERROR); } -unless ($path and -f $path) { +unless ($path and -d $path) { ERROR "environment variable \"mdpath\" missing or wrong."; exit 1; } |