Updated docker shellinit script to handle aborted status.