diff --git a/entrypoint.sh b/entrypoint.sh
index 771b32dd44da9bdf23bc9ae025ffa5ca5e507cc3..b06f083975f20a95a464c09415e970f5d86efe6a 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 if [ "$1" == "install" ]; then
   if [ -d /host ]; then
     mkdir -p /host/cfg/