]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
initscripts: print cconf command if verbose
authorSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 21:12:04 +0000 (14:12 -0700)
committerSage Weil <sage@newdream.net>
Thu, 12 Mar 2009 21:12:04 +0000 (14:12 -0700)
src/ceph_common.sh

index d63fd2f229fc063cb045b557a76ceebef8b719f8..7004028f8d2d2f58f466af7d3f881abaedc37b3b 100644 (file)
@@ -101,6 +101,7 @@ get_conf() {
        key=$3
        shift; shift; shift
 
+       [[ $verbose == 1 ]] && echo "$CCONF -c $conf -i $id -t $type $tmp \"$key\" \"$def\""
        eval "$var=\"`$CCONF -c $conf -i $id -t $type $tmp \"$key\" \"$def\"`\""
 }