1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-03-15 08:53:01 +01:00

fix: use redacted function from helpers
All checks were successful
Mirror to Codeberg / mirror-to-codeberg (push) Successful in 19s

This commit is contained in:
aclist 2025-01-10 22:43:00 +09:00
parent 9e09bd3bb3
commit 63671e2478

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.7.0-beta.4 version=5.7.0-beta.5
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -77,7 +77,7 @@ set_im_module(){
fi fi
} }
redact(){ redact(){
sed 's@\(/home/\)\([^/]*\)\(.*\)@\1REDACTED\3@g' sed 's@\(/home/\)[^/]*@\1REDACTED@g'
} }
logger(){ logger(){
local date="$(date "+%F %T,%3N")" local date="$(date "+%F %T,%3N")"