Don't assume the value of XDG_RUNTIME_DIR in the error message
This commit is contained in:
parent
02f9650b5f
commit
9b9cdf2179
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ create()
|
|||
|
||||
if ! $prefix_sudo buildah config --volume $XDG_RUNTIME_DIR $working_container_name >/dev/null 2>&42; then
|
||||
$prefix_sudo buildah rmi $working_container_name >/dev/null 2>&42
|
||||
echo "$0: failed to configure volume for /run/user/$UID"
|
||||
echo "$0: failed to configure volume for $XDG_RUNTIME_DIR"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue