Skip to content

Commit 5e6b47c

Browse files
dbuTimWolla
andauthored
Update bin/http_test_server
Co-authored-by: Tim Düsterhus <[email protected]>
1 parent d9584bf commit 5e6b47c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/http_test_server

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ elif [ -f "$DIR/../vendor/autoload.php" ]; then
1010
php -S 127.0.0.1:10000 -t "$DIR/../fixture"
1111
# Not working, e.g. windows which does not do symlinks
1212
else
13-
echo "*** Can't find the fixture folder ***"
14-
echo "Please write your own way to start a PHP web server on port 10000 for the 'fixture' directory."
13+
echo "*** Can't find the fixture folder ***" >&2
14+
echo "Please write your own way to start a PHP web server on port 10000 for the 'fixture' directory." >&2
15+
exit 1
1516
fi

0 commit comments

Comments
 (0)