Commit ac9b8419 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack.d/common.sh: add exit to return_tar()

parent ee090172
...@@ -70,6 +70,7 @@ return_tar() ...@@ -70,6 +70,7 @@ return_tar()
{ {
[ -n "$RETURNTARNAME" ] || fatal "RETURNTARNAME is empty" [ -n "$RETURNTARNAME" ] || fatal "RETURNTARNAME is empty"
realpath $1 >$RETURNTARNAME || fatal "Can't save tar name $1 to file $RETURNTARNAME" realpath $1 >$RETURNTARNAME || fatal "Can't save tar name $1 to file $RETURNTARNAME"
exit 0
} }
[ -n "$PRODUCT" ] || PRODUCT="$(basename $0 .sh)" [ -n "$PRODUCT" ] || PRODUCT="$(basename $0 .sh)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment