diff mbox series

[11/12] scripts: Return the full default path of the pool path

Message ID 20241218-jag-bringup_fixes-v1-11-0bf2e07c640c@kernel.org (mailing list archive)
State New
Headers show
Series kdevops: Various fixes | expand

Commit Message

Joel Granados Dec. 18, 2024, 10:30 a.m. UTC
Avoid "file not found" failures related to relative paths in pool paths.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
---
 scripts/get_libvirsh_pool_path.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/get_libvirsh_pool_path.sh b/scripts/get_libvirsh_pool_path.sh
index 92901a8..c036777 100755
--- a/scripts/get_libvirsh_pool_path.sh
+++ b/scripts/get_libvirsh_pool_path.sh
@@ -17,7 +17,7 @@  POOL_LIST=""
 get_pool_vars
 VIRSH_WORKS=$(virsh_works)
 if [[ "$VIRSH_WORKS" == "n" ]]; then
-	echo "default"
+	echo "$(pwd)/default"
 	exit
 fi