2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Fix a syntax error in the systemd sudo-logsrvd.postinst script:

sudo-logsrvd.postinst: 120: [: -eq: unexpected operator
This commit is contained in:
Todd C. Miller 2024-05-18 19:31:11 -06:00
parent 52586b0db6
commit 52772ae6eb

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Copyright 2023 One Identity LLC. ALL RIGHTS RESERVED # Copyright 2024 One Identity LLC. ALL RIGHTS RESERVED
pp_revision="20231108" pp_revision="20240518"
# Copyright 2018 One Identity LLC. ALL RIGHTS RESERVED. # Copyright 2018 One Identity LLC. ALL RIGHTS RESERVED.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -8394,7 +8394,6 @@ pp_backend_bsd_cleanup () {
} }
pp_backend_bsd_probe () { pp_backend_bsd_probe () {
echo "${pp_bsd_os}-${pp_bsd_platform_std}"
echo "${pp_bsd_os}${pp_bsd_os_rev}-${pp_bsd_platform_std}" echo "${pp_bsd_os}${pp_bsd_os_rev}-${pp_bsd_platform_std}"
} }
@ -8968,7 +8967,7 @@ pp_systemd_service_install_common () {
_pp_systemd_enable () { _pp_systemd_enable () {
local svc="$1" local svc="$1"
local RUNNING local RUNNING=0
# If $systemctl_cmd is not set, then call _pp_systemd_init. If still not # If $systemctl_cmd is not set, then call _pp_systemd_init. If still not
# set, we do not know where the systemctl command is so do nothing; # set, we do not know where the systemctl command is so do nothing;