Evitar ''cuelgue'' de función {{{ogReduceFs}}} al reducir sistema de archivo ReiserFS esperando confirmación por teclado.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4456 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2014-12-09 16:52:27 +00:00
parent 967316de21
commit eb4614b05c
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ case "$(ogGetFsType $1 $2)" in
MNTDIR=$(ogMount $1 $2)
SIZE=$[ $(df -k $MNTDIR | awk '{getline;print $3}') * 110 / 100 ]
ogUnmount $1 $2 2>/dev/null
resize_reiserfs -s${SIZE}K $PART
resize_reiserfs -s${SIZE}K $PART <<<"y"
;;
JFS) ;; # No se reduce (por el momento).