Fixed bug when the subdirectory /tmp/submarine didn't exists