From 9b9cdf2179d8cc1403840901e6cc7c5d4b1ad206 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 9 Nov 2018 10:58:18 +0000 Subject: [PATCH] Don't assume the value of XDG_RUNTIME_DIR in the error message --- fedora-toolbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-toolbox b/fedora-toolbox index 4cfbb0b..0e9435f 100755 --- a/fedora-toolbox +++ b/fedora-toolbox @@ -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