diff options
-rwxr-xr-x | firma | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -171,11 +171,12 @@ function GetMessage { # returns: 0 on success, 1 if there's no input #------------------------------------------------------------- + local stdin local element # store message in array ORIG_MESSAGE - while read STDIN; do - ORIG_MESSAGE[$element]="$STDIN\n" + while read stdin; do + ORIG_MESSAGE[$element]="$stdin\n" ((++element)) done |