Browse code

Minor comment corrections

Change-Id: Ibe516911e76bb250bc5ea582b0d8b8a3b12890f1

Dean Troyer authored on 2013/03/14 04:30:54
Showing 1 changed files
... ...
@@ -53,8 +53,8 @@ function cp_it {
53 53
 }
54 54
 
55 55
 
56
-# Prints "message" and exits
57
-# die "message"
56
+# Prints line number and "message" then exits
57
+# die $LINENO "message"
58 58
 function die() {
59 59
     local exitcode=$?
60 60
     if [ $exitcode == 0 ]; then
... ...
@@ -73,7 +73,7 @@ function die() {
73 73
 # Checks an environment variable is not set or has length 0 OR if the
74 74
 # exit code is non-zero and prints "message" and exits
75 75
 # NOTE: env-var is the variable name without a '$'
76
-# die_if_not_set env-var "message"
76
+# die_if_not_set $LINENO env-var "message"
77 77
 function die_if_not_set() {
78 78
     (
79 79
         local exitcode=$?