Skip to content

Commit a0898b4

Browse files
committed
fix(as400): update service path to include 'as400' in InstallUpdater and UninstallUpdater functions
1 parent 0d4d111 commit a0898b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

as400/utils/updater.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package utils
33
import "fmt"
44

55
func InstallUpdater() error {
6-
updaterPath := GetMyPath() + "/utmstack_updater_service"
6+
updaterPath := GetMyPath() + "/utmstack_as400_updater_service"
77

88
if err := Execute("chmod", GetMyPath(), "+x", updaterPath); err != nil {
99
return fmt.Errorf("error setting execute permissions: %v", err)
@@ -17,7 +17,7 @@ func InstallUpdater() error {
1717
}
1818

1919
func UninstallUpdater() error {
20-
updaterPath := GetMyPath() + "/utmstack_updater_service"
20+
updaterPath := GetMyPath() + "/utmstack_as400_updater_service"
2121

2222
if !CheckIfPathExist(updaterPath) {
2323
return nil

0 commit comments

Comments
 (0)