summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2013-10-17 12:41:53 +0000
committeririna <irinagomez@us.es>2013-10-17 12:41:53 +0000
commit49b2debe1c805ff425cfdc0c60f919019adb25c8 (patch)
treef15a29466737927d73f38bee66a2902f7c3d9134 /client
parent09558c8f95e0c4b536317dd76e3d2b477370e0b6 (diff)
Comando ogReduceFsCheck muestra informacion de error del comando ntfsresize. Se usa al crear las imagenes
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4064 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/FileSystem.lib7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/engine/FileSystem.lib b/client/engine/FileSystem.lib
index e29baf99..f0972641 100755
--- a/client/engine/FileSystem.lib
+++ b/client/engine/FileSystem.lib
@@ -830,10 +830,13 @@ ogUnmount $1 $2 &>/dev/null
case $MODE in
STAGE1)
# echo "primera etapa $*"
- ntfsresize -fi $PART &>/dev/null
+ # Mostramos el error
+ #ntfsresize -fi $PART &>/dev/null
+ ntfsresize -fi $PART | grep -A 10 -e ERROR >&2
RC=`echo $?`
# echo "RC es" $RC
- if [ "$RC" -eq "1" ]
+ # if [ "$RC" -eq "1" ] # con error la salida del grep es 0
+ if [ "$RC" -eq "0" ]
then
echo "0"
return 1