aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2014-07-23 10:24:28 -0700
committerSerge V Shistarev <s.shistarev@i-wire.net>2014-07-24 12:55:42 +0900
commit78542cddfefe202f5d0c02bd2e791544034a64bf (patch)
tree68d9648981820e0d4673f5580fa225307f2b502d
parentd9f55de89ebc318bde3c267b4386cb49875e64b9 (diff)
downloadricoh-sp100-78542cddfefe202f5d0c02bd2e791544034a64bf.tar.gz
pstorichoddst-gdi: Clean up temporary directory
After normal completion, the temporary directory is left in place because the only delete path is on a SIGINT trap. Fix by adding to the standard exit path as well. Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rwxr-xr-xpstoricohddst-gdi3
1 files changed, 3 insertions, 0 deletions
diff --git a/pstoricohddst-gdi b/pstoricohddst-gdi
index a580350..99d1e77 100755
--- a/pstoricohddst-gdi
+++ b/pstoricohddst-gdi
@@ -193,3 +193,6 @@ EOF
}
+#rm -rf $uid;
+
+exit 0