[Pkg-privacy-commits] [libgsecuredelete] 127/168: sfill wrapper: reorder functions a little for better style

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:06:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to branch master
in repository libgsecuredelete.

commit 47c7b3fe7a074a12dfb91cec1da7f49b9345d31e
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Mon Jun 11 23:46:27 2012 +0200

    sfill wrapper: reorder functions a little for better style
---
 gsd-sfill-helper.in | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/gsd-sfill-helper.in b/gsd-sfill-helper.in
index 1e31362..0b0023a 100644
--- a/gsd-sfill-helper.in
+++ b/gsd-sfill-helper.in
@@ -39,22 +39,6 @@ die() {
   exit 1
 }
 
-# progress_step
-progress_step_STEP=0
-progress_step() {
-  if [ -n $OPT_v ]; then
-    case "$(echo $OPT_l | wc -w)" in
-      0)
-        echo '*******************';;
-      1)
-        echo '*';;
-      *)
-        [ "$progress_step_STEP" -gt 0 ] && echo '*'
-        ;;
-    esac
-    progress_step_STEP=1
-  fi
-}
 
 
 
@@ -104,6 +88,23 @@ cleanup() {
   exit 1
 }
 
+# progress_step
+progress_step_STEP=0
+progress_step() {
+  if [ -n $OPT_v ]; then
+    case "$(echo $OPT_l | wc -w)" in
+      0)
+        echo '*******************';;
+      1)
+        echo '*';;
+      *)
+        [ "$progress_step_STEP" -gt 0 ] && echo '*'
+        ;;
+    esac
+    progress_step_STEP=1
+  fi
+}
+
 
 # become root!
 if [ `whoami` != root ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list