Closed GrahamDumpleton closed 8 years ago
Same in functions for creating volumes:
if test ! -d $__path; then
mkdir -p $__path
fi
I copied this from your blog. I thought that if you used it it had some value. That's my confidence in you. 😂😂😂
El 23 sept. 2016 3:44, "Graham Dumpleton" notifications@github.com escribió:
Same in functions for creating volumes:
if test ! -d $path; then mkdir -p $path fi
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jorgemoralespou/oc-cluster-wrapper/issues/2#issuecomment-249079187, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEyDnNIPnBdOvpiUin8Qi1VXGCR_5Mtks5qsy79gaJpZM4KEhq3 .
Fixed
In:
the
if test
check is not needed asmkdir -p
will not complain if directory already exists anyway.This is my fault as you copied what I had.