Bug 19546: (QA follow-up) Make the returning cd more fool proof

Trivial and hypothetical fix.
If you create /root/AA B (space in dirname), the quotes added here will
help you to get back where you came from.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2018-03-05 10:27:33 +01:00 committed by Nick Clemens
parent 4e3c60a192
commit a36c105178
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ start_plack()
log_end_msg 1
fi
# Go back to the original dir
cd $current_dir
cd "$current_dir"
else
log_daemon_msg "Error: Plack already running for ${instancename}"