Sniperovitch 8 years ago
parent
commit
a5a31fc44f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cocktail

+ 2 - 2
cocktail

@@ -21,11 +21,11 @@ end_with_code() {
 }
 
 die() {
-  local message=shift
+  local message=shift 1
   local rc
   if test $# -eq 1;
   then
-    rc=shift
+    rc=shift 1
   else
     rc=$RC_ERROR
   fi