diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh index da3954ea7d4..23d97d39b6a 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh @@ -94,4 +94,9 @@ DEBUGFS="debugfs" echo "sif $SRC links_count $LN_CNT" done rm -fr $INODE_DIR -} | $DEBUGFS -w -f - $DEVICE +} | $DEBUGFS -w -f - $DEVICE 2>&1 1>/dev/null | grep '.*: .*' + +if [ $? = 0 ]; then + echo "Some error occured while executing [$DEBUGFS -w -f - $DEVICE]" + exit 1 +fi |