From 7e4984087dcde548479d69399574ba626fc9a581 Mon Sep 17 00:00:00 2001 From: npamudika Date: Fri, 27 Mar 2020 15:11:56 +0530 Subject: [PATCH] Fix wrong Error code given when executing export-apis command for the 2nd time --- import-export-cli/cmd/exportAPIs.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/import-export-cli/cmd/exportAPIs.go b/import-export-cli/cmd/exportAPIs.go index d94b4a8af..b43d98c7b 100644 --- a/import-export-cli/cmd/exportAPIs.go +++ b/import-export-cli/cmd/exportAPIs.go @@ -21,7 +21,6 @@ package cmd import ( "fmt" "net/http" - "os" "path/filepath" "strconv" @@ -178,7 +177,6 @@ func prepareResumption() { exportRelatedFilesPath, apiListOffset) } else { fmt.Println("Command: export-apis execution completed !") - os.Exit(1) } } }