From 2b99f6420f38fcf44ce1acfe56590db714259e21 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 26 Feb 2009 14:34:28 +0000 Subject: cosmetics --- rescue/restore-image.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'rescue') diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index 61cda588a..32e1cc178 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -248,9 +248,15 @@ function write_image() image=$(cat $images_dir/list | cut -d ',' -f 3) extension=$(echo $image | cut -d '.' -f 3) case $extension in - gz) uncomp=zcat ;; - bz2) uncomp=bzcat ;; - *) uncomp=cat ;; + gz) + uncomp=zcat + ;; + bz2) + uncomp=bzcat + ;; + *) + uncomp=cat + ;; esac skipstart=/bin/true -- cgit v1.2.1