From faf2c7501bd4052e0781b803e0acc219bac95b6a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 15 Jan 2010 11:06:44 -0500 Subject: Be a little more verbose about creating initial squash --- squashfu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/squashfu b/squashfu index de50c80..c959bde 100755 --- a/squashfu +++ b/squashfu @@ -28,7 +28,13 @@ create_new_squash () { if [[ $1 -eq -1 ]]; then info "Creating seed (this may take a while)" mksquashfs "${INCLUDES[@]}" "$SEED" -b 65536 -e "${EXCLUDES[@]}" >/dev/null - return $? + if [[ $? -eq 0 ]]; + mount_squash + info "Seed creation finished. It has been mounted at "$SQUASH_MOUNT" \ + if you would like to make sure the proper files are included" + else + die "There was an error creating the initial squash." + fi fi # Determine oldest $1 bins and mount them with the current squash -- cgit v1.2.3