magic-pax: remove write check now that we support non-root

This commit is contained in:
Rick Farina (Zero_Chaos) 2016-01-12 14:23:50 -05:00
parent 569fdbd933
commit 0077cb3866

View file

@ -20,8 +20,8 @@ if [ -z "${1}" ] || [ -z "${2}" ]; then
fi
#check target file
if [ ! -w "${1}" ]; then
printf "Target file ${1} is missing or we do not have write permissions...exiting.\n"
if [ ! -e "${1}" ]; then
printf "Target file ${1} is missing...exiting.\n"
exit 1
fi