Skip to content

Commit

Permalink
cparch: fix
Browse files Browse the repository at this point in the history
Signed-off-by: alanndz <[email protected]>
  • Loading branch information
alanndz committed Dec 18, 2020
1 parent 84b588f commit 16c1fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/bin/cparch
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fi
[[ -d "$CHROOT_DIR/$2" ]] && err "Rootfs instance with name $2 already exists. Exiting."

# Unmount and exit on fail
! unarch -d "$CHROOT_DIR" "$1" && exit 1
! unarch -d "$CHROOT_DIR" -n "$1" && exit 1

# Clone
cp -Ra "$CHROOT_DIR/$1" "$CHROOT_DIR/$2"

0 comments on commit 16c1fb9

Please sign in to comment.