소스 검색

toolboxrun: Exit cleanly in atom build

cryobry 4 년 전
부모
커밋
a686e890e2
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 1
      toolboxrun

+ 9 - 1
toolboxrun

@@ -1,4 +1,12 @@
 #!/usr/bin/env bash
+#
+# This program will execute commands in the specified toolbox container
+#
+# Author:
+#   Bryan Roessler
+# Source:
+#    https://git.bryanroessler.com/bryan/scripts/src/master/toolboxrun
+#
 toolboxrun () {
 
     _printHelpAndExit () {
@@ -133,5 +141,5 @@ EOF
 
 if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
     toolboxrun "$@"
-    exit "$_ec"
+    exit 0
 fi