Minor comment corrections
Change-Id: Ibe516911e76bb250bc5ea582b0d8b8a3b12890f1
diff --git a/functions b/functions
index 8cb703c..2aab3cd 100644
--- a/functions
+++ b/functions
@@ -53,8 +53,8 @@
}
-# Prints "message" and exits
-# die "message"
+# Prints line number and "message" then exits
+# die $LINENO "message"
function die() {
local exitcode=$?
if [ $exitcode == 0 ]; then
@@ -73,7 +73,7 @@
# Checks an environment variable is not set or has length 0 OR if the
# exit code is non-zero and prints "message" and exits
# NOTE: env-var is the variable name without a '$'
-# die_if_not_set env-var "message"
+# die_if_not_set $LINENO env-var "message"
function die_if_not_set() {
(
local exitcode=$?