Code Review
/
ta
/
infra-ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
FIX: More security hardening
[ta/infra-ansible.git]
/
roles
/
partfs_rootdisk
/
scripts
/
vol_mgmt.sh
diff --git
a/roles/partfs_rootdisk/scripts/vol_mgmt.sh
b/roles/partfs_rootdisk/scripts/vol_mgmt.sh
index
f99c3fe
..
940b965
100755
(executable)
--- a/
roles/partfs_rootdisk/scripts/vol_mgmt.sh
+++ b/
roles/partfs_rootdisk/scripts/vol_mgmt.sh
@@
-56,7
+56,7
@@
fi
# mirror the permissions of the existing directory
oPerm=`stat -c '%a' ${evac_dir}`
# mirror the permissions of the existing directory
oPerm=`stat -c '%a' ${evac_dir}`
-'
+
if [ ! -b $mount_vol_dev ];then
echo "Provided volume $mount_vol_dev is not a block device!!"
exit 1
if [ ! -b $mount_vol_dev ];then
echo "Provided volume $mount_vol_dev is not a block device!!"
exit 1