check before chowning
This commit is contained in:
parent
aa57b71ccc
commit
f355fead8a
@ -22,4 +22,6 @@ appliance-creator \
|
|||||||
1> Rocky-9-aarch64-minimal.stdout.log \
|
1> Rocky-9-aarch64-minimal.stdout.log \
|
||||||
2> Rocky-9-aarch64-minimal.stderr.log
|
2> Rocky-9-aarch64-minimal.stderr.log
|
||||||
|
|
||||||
chown "${REAL_USER}:${REAL_USER}" "${APPLIANCE_NAME}*"
|
if [[ -f "${APPLIANCE_NAME}*" ]]; then
|
||||||
|
chown "${REAL_USER}:${REAL_USER}" "${APPLIANCE_NAME}*"
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user