Skip to content

Commit

Permalink
8322799: Test JPKG003-013: ServiceTest fails because the user cannot …
Browse files Browse the repository at this point in the history
…uninstall the "servicetest" package on OEL 9.2 x64 and OEL 9.2 64-bit Arm (aarch64)

Reviewed-by: almatvee
Backport-of: 8e12053e0352a26ecd7f2b9bc298ddb8fb4bb61b
  • Loading branch information
Alexey Semenyuk committed Jan 17, 2024
1 parent f9f7a27 commit b5ed8cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
register_services ()
{
for unit in "$@"; do
systemctl enable --now "$unit"
local unit_name=`basename "$unit"`
systemctl enable --now "$unit_name"
done
}

Expand Down

0 comments on commit b5ed8cc

Please sign in to comment.