Add +x permissions to the ceph-osd temp script

This commit is contained in:
Jeremy Gardais 2019-07-03 10:12:46 +02:00
parent 32bab13c7b
commit bab4ea547e
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ printf '%b\n' "Physical volume to remove: ${REDB}${pv_path}${RESET}"
# Generate a temp script with the expected commands # Generate a temp script with the expected commands
rm -rf -- "${temp_script}" rm -rf -- "${temp_script}"
touch -- "${temp_script}" touch -- "${temp_script}"
chmod +x -- "${temp_script}"
printf '%b\n' "#!/bin/sh" >> "${temp_script}" printf '%b\n' "#!/bin/sh" >> "${temp_script}"