Skip to content

Commit 3d4cf5c

Browse files
Joelgranadosdkruces
authored andcommitted
scripts: Return the full default path of the pool path
Avoid "file not found" failures related to relative paths in pool paths. Signed-off-by: Joel Granados <[email protected]> Reviewed-by: Daniel Gomez <[email protected]>
1 parent 1c3cc17 commit 3d4cf5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/get_libvirsh_pool_path.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ POOL_LIST=""
1717
get_pool_vars
1818
VIRSH_WORKS=$(virsh_works)
1919
if [[ "$VIRSH_WORKS" == "n" ]]; then
20-
echo "default"
20+
echo "$(pwd)/default"
2121
exit
2222
fi
2323

0 commit comments

Comments
 (0)