Skip to content

Commit

Permalink
basename $0${0##*/}
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 committed Apr 30, 2023
1 parent 9a93222 commit 6965083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tidy_log-dupes
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export POSIXLY_CORRECT=1 # Can have side-effects, see e.g., https://github.com/
# 124 : Error parsing parameters
# 126 : Help called

called="$(basename "$0")"
called="${0##*/}"
retc=0
if [ -z "$*" ]
then logdir=/var/log
Expand Down

0 comments on commit 6965083

Please sign in to comment.