Skip to content

Commit

Permalink
Fix minor bug on paths when selecting a directory instead of a file w…
Browse files Browse the repository at this point in the history
…hile saving a trophy file
  • Loading branch information
v1s1t0r1sh3r3 committed Jul 30, 2024
1 parent 96721e7 commit a0eb117
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

Expand Down

0 comments on commit a0eb117

Please sign in to comment.