Skip to content

Commit

Permalink
scripts: Return the full default path of the pool path
Browse files Browse the repository at this point in the history
Avoid "file not found" failures related to relative paths in pool paths.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
  • Loading branch information
Joelgranados authored and dkruces committed Jan 31, 2025
1 parent 1c3cc17 commit 3d4cf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/get_libvirsh_pool_path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3d4cf5c

Please # to comment.