浏览代码

Fix syntax for finish script example in README

It wouldn't run unless I got rid of the spaces, as [shellcheck suggested](https://github.com/koalaman/shellcheck/wiki/SC2283). As it is currently was giving me 
`./finish: 6: ./finish: e: not found`
Justin Godesky 3 年之前
父节点
当前提交
058affcb1f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -393,9 +393,9 @@ be something like this:
 #!/bin/sh
 
 if test "$1" -eq 256 ; then
-  e = $((128 + $2))
+  e=$((128 + $2))
 else
-  e = "$1"
+  e="$1"
 fi
 
 echo "$e" > /run/s6-linux-init-container-results/exitcode