This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 574d9c9 [Improve] [core] Using right exit code instead of -1 (#1539)
574d9c9 is described below
commit 574d9c9937b5a5f32ea7eb7c6577c3eee4028a12
Author: Benedict Jin <[email protected]>
AuthorDate: Thu Mar 24 23:54:30 2022 +0800
[Improve] [core] Using right exit code instead of -1 (#1539)
---
.../seatunnel-core-flink/src/main/bin/start-seatunnel-flink.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/seatunnel-core/seatunnel-core-flink/src/main/bin/start-seatunnel-flink.sh
b/seatunnel-core/seatunnel-core-flink/src/main/bin/start-seatunnel-flink.sh
index 29ccb82..b0ab9d0 100755
--- a/seatunnel-core/seatunnel-core-flink/src/main/bin/start-seatunnel-flink.sh
+++ b/seatunnel-core/seatunnel-core-flink/src/main/bin/start-seatunnel-flink.sh
@@ -35,7 +35,7 @@ fi
is_exist() {
if [ -z $1 ]; then
usage
- exit -1
+ exit 1
fi
}