[kexec-tools] mkdumprd: remove --debug

Dave Young yangrr at fedoraproject.org
Wed Jun 6 08:32:49 UTC 2012


commit 7e82b251c6fa6ae4347d9db855535dd368117d92
Author: Dave Young <dyoung at redhat.com>
Date:   Wed Jun 6 16:24:32 2012 +0800

    mkdumprd: remove --debug
    
    dracut args pass through will be introduced later, remove this firstly.
    
    Signed-off-by: Dave Young <dyoung at redhat.com>
    Acked-by: Vivek Goyal <vgoyal at redhat.com>

 mkdumprd |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/mkdumprd b/mkdumprd
index 5890548..77fb4c4 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -60,19 +60,6 @@ check_size() {
     fi
 }
 
-while [ $# -gt 0 ]; do
-    case $1 in
-    --debug)
-        add_dracut_arg "-v"
-        set -x
-        shift
-        ;;
-    *)
-        break
-        ;;
-    esac
-done
-
 # Generic substring function.  If $2 is in $1, return 0.
 strstr() { [[ $1 =~ $2 ]]; }
 


More information about the scm-commits mailing list