diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b13b89e4..e969764a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### 11.31 - Fixed graphics system detection when launched on a headless system using remote X windows + - Fixed minor bug on paths when selecting a directory instead of a file while saving a trophy file ### 11.30 - Added Multi-instance support to launch more than one airgeddon at a time diff --git a/airgeddon.sh b/airgeddon.sh index 037064465..bef5dccba 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -15006,6 +15006,9 @@ function set_absolute_path() { local string_path string_path=$(readlink -f "${1}") + if [ -d "${string_path}" ]; then + string_path="${string_path%/}/" + fi echo "${string_path}" }