Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Don't try to mount dirs which don't exist for PBIS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Oct 31, 2013
1 parent 904be5b commit 7e583de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-sh/pbi-manager10/pbime/pbimount
Expand Up @@ -3,6 +3,7 @@
NULLFS="/usr/pbi/.mount_nullfs" NULLFS="/usr/pbi/.mount_nullfs"


is_mounted() { is_mounted() {
if [ ! -d "${1}" ] ; then return 0; fi
mount | grep -q "on ${1} (" mount | grep -q "on ${1} ("
return $? return $?
} }
Expand Down

0 comments on commit 7e583de

Please sign in to comment.