Skip to content

Commit e356655

Browse files
committed
fxs
1 parent c115e1c commit e356655

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

sh/setup-plantuml.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ print "Downloading plantuml"
1111
curl -LO https://github.com/plantuml/plantuml/releases/download/v1.2025.4/plantuml-mit-1.2025.4.jar
1212

1313
print "Starting server"
14-
if ! java -jar ./plantuml-mit-1.2025.4.jar -picoweb:8080:127.0.0.1 &; then
14+
java -jar ./plantuml-mit-1.2025.4.jar -picoweb:8080:127.0.0.1 &
15+
if [ $? -ne 0 ]; then
1516
print "Server failed!"
16-
fi;
17+
else
18+
print "Server PID:" $!
19+
fi

0 commit comments

Comments
 (0)