Initialize the CLEANUP array and trap in common.sh
[ext/instance-debootstrap.git] / create
diff --git a/create b/create
index da25b0e..5933f0b 100755 (executable)
--- a/create
+++ b/create
@@ -21,10 +21,6 @@ set -e
 
 . common.sh
 
-CLEANUP=( )
-
-trap cleanup EXIT
-
 if [ "$GENERATE_CACHE" = "yes" -a ! -d "$CACHE_DIR" ]; then
   mkdir -p "$CACHE_DIR"
 fi