cloud-prep: ensure migrate-pax is executable.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson 2016-04-25 16:24:18 -07:00
parent 92238d985e
commit 9eadf3d5bc
No known key found for this signature in database
GPG key ID: 19395F23C58826C4

View file

@ -76,7 +76,7 @@ for i in $(find /var/log -type f); do truncate -s 0 $i; done
find /usr/share/man/ -mindepth 1 -maxdepth 1 -path "/usr/share/man/man*" -prune -o -exec rm -rf {} \;
# fine if this fails, aka non-hardened
if [[ -a /usr/sbin/migrate-pax ]]; then
if [[ -x /usr/sbin/migrate-pax ]]; then
echo 'migraging pax'
/usr/sbin/migrate-pax -m
fi