diff options
author | David Soria Parra <dsp@php.net> | 2011-06-29 23:44:02 +0000 |
---|---|---|
committer | David Soria Parra <dsp@php.net> | 2011-06-29 23:44:02 +0000 |
commit | c1abc8938dbd7f5daa752620cd2feef435354faa (patch) | |
tree | 6ac54ae13066a1bed2233e959f84b976b9b9c8d6 /sapi/cli/php_cli_server.c | |
parent | 54b84f832ae05bf3b6f3e3739f20f57e680c3e4e (diff) | |
download | php-git-c1abc8938dbd7f5daa752620cd2feef435354faa.tar.gz |
correct error message for a missing document root in the cli webserver
the document root is always a directory.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index b0423a1a4f..1eec3a4f1b 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -2061,7 +2061,7 @@ int do_cli_server(int argc, char **argv TSRMLS_DC) /* {{{ */ if (document_root) { struct stat sb; if (stat(document_root, &sb)) { - fprintf(stderr, "Directory or script %s does not exist.\n", document_root); + fprintf(stderr, "Directory %s does not exist.\n", document_root); return 1; } if (!S_ISDIR(sb.st_mode)) { |