aboutsummaryrefslogtreecommitdiff
path: root/runltp
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2013-07-10 16:10:49 +0200
committerCyril Hrubis <chrubis@suse.cz>2013-07-10 16:10:49 +0200
commitf08964a76759d8e9d3e6bed76b0fe09aa9211b09 (patch)
treeac8a235381bb276e18fd3f7863973f91c3a51484 /runltp
parent59e542bcded547398e252d31aeab336f70d1af2a (diff)
downloadltp-f08964a76759d8e9d3e6bed76b0fe09aa9211b09.tar.gz
runltp: Remove useless rm in nonexistent dir
The TEMP variable is not used at all and even if the code was fixed to use TMP instead the whole TMP is removed right after. Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'runltp')
-rwxr-xr-xrunltp1
1 files changed, 0 insertions, 1 deletions
diff --git a/runltp b/runltp
index e39569c14..28e6bed7b 100755
--- a/runltp
+++ b/runltp
@@ -1022,7 +1022,6 @@ create_block()
cleanup()
{
[ "$LOOP_DEV" ] && losetup -d $LOOP_DEV
- [ -e "${TEMP}/test.img" ] && rm -f ${TEMP}/test.img
rm -rf ${TMP}
}