Permalink
Browse files

Don't try to mount dirs which don't exist for PBIS

  • Loading branch information...
1 parent 904be5b commit 7e583de3bb4e82bbdffa821eeaa5a893fa1e09fd @kmoore134 kmoore134 committed Oct 31, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src-sh/pbi-manager10/pbime/pbimount
@@ -3,6 +3,7 @@
NULLFS="/usr/pbi/.mount_nullfs"
is_mounted() {
+ if [ ! -d "${1}" ] ; then return 0; fi
mount | grep -q "on ${1} ("
return $?
}

0 comments on commit 7e583de

Please sign in to comment.