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:
parent
4e3c60a192
commit
a36c105178
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue