fix function run order (define $USER before it is used, not after)
This commit is contained in:
parent
467ea511bc
commit
cde2a04655
|
@ -15,6 +15,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
|||
|
||||
### Fixed
|
||||
|
||||
* Define $USER before it is used
|
||||
|
||||
### Security
|
||||
|
||||
## [24.05] - 2024-05-15
|
||||
|
|
|
@ -545,10 +545,10 @@ set -u
|
|||
HOSTNAME_TEXT=$(get_complete_hostname)
|
||||
# TTY=$(get_tty)
|
||||
# WHO=$(get_who)
|
||||
USER=$(get_user)
|
||||
IP=$(get_ip)
|
||||
BEGIN_DATE=$(get_begin_date)
|
||||
END_DATE=$(get_end_date)
|
||||
USER=$(get_user)
|
||||
|
||||
PATH=${PATH}:/usr/sbin
|
||||
|
||||
|
|
Loading…
Reference in a new issue