Created
October 22, 2018 11:32
-
-
Save fortable1999/3c68f762e520691ad153170ce7354429 to your computer and use it in GitHub Desktop.
democode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UMOUNT_RETRIES=3 | |
while [ $UMOUNT_RETRIES -gt 0 ] | |
do | |
umount ${DIR_NAME}; RC=$? | |
if [ ${RC} -ne 0 ] | |
then | |
UMOUNT_RETRIES=$((UMOUNT_RETRIES-1)) | |
continue | |
fi | |
break | |
done | |
if [ $UMOUNT_RETRIES -le 0 ] | |
then | |
#### | |
## PART A | |
#### | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment