diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 0722b11..c4af4c6 100755 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -66,8 +66,9 @@ create_dir() { if ! [ -d "$_directory" ] then echo "" - echo "error: unable to create the directory '${_directory}' as user '${system_user}'" - echo " failed command: '${mkdir_command}'" + echo "error: unable to create the directory '${_directory}'" + echo " failed command:" + echo " runuser -l ${system_user} -c '${mkdir_command}'" fi }