[SCM] debian-live branch, master, updated. 1.130.1-3-15-ga17ea0d

Daniel Baumann daniel at debian.org
Sat May 31 22:46:24 UTC 2008


The following commit has been merged in the master branch:
commit a17ea0de501bd79151882821f924bbfd59c98013
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Jun 1 00:44:03 2008 +0200

    Removing useless whitespaces and empty lines.

diff --git a/bin/live-snapshot b/bin/live-snapshot
index 70073fc..199718f 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -95,7 +95,6 @@ Usage ()
 
 	exit 0
 }
-	
 
 Version ()
 {
@@ -197,7 +196,6 @@ Parse_args ()
 
 		esac
 	done
-
 }
 
 Defaults ()
@@ -229,7 +227,6 @@ Defaults ()
 				Error "unrecognized resync string"
 				;;
 		esac
-
 	else
 		# Set target file based on image
 		case "${SNAP_TYPE}" in
@@ -246,14 +243,14 @@ Defaults ()
 				;;
 		esac
 	fi
-
 }
 
 Validate_input ()
 {
-	case "${SNAP_TYPE}" in 
+	case "${SNAP_TYPE}" in
 		cpio|squashfs|jffs2|ext2|ext3)
 			;;
+
 		*)
 			Error "invalid filesystem type \"${SNAP_TYPE}\""
 			;;
@@ -279,6 +276,7 @@ Mount_device ()
 			# create a temp
 			mount -t tmpfs -o rw tmpfs "${MOUNTP}"
 			;;
+
 		*)
 			if [ -b "${SNAP_DEV}" ]
 			then
@@ -333,7 +331,7 @@ Main ()
 	Parse_args "${@}"
 	Defaults
 	Validate_input
-	trap 'Clean' EXIT 
+	trap 'Clean' EXIT
 	Mount_device
 	Do_snapshot
 }

-- 
debian-live



More information about the debian-live-changes mailing list