summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmorph2
1 files changed, 1 insertions, 1 deletions
diff --git a/morph b/morph
index 2f4c4d44..aa78b4c7 100755
--- a/morph
+++ b/morph
@@ -262,7 +262,7 @@ class Morph(cliapp.Application):
if staging_root != '/':
staging_area.remove()
- if staging_temp != '/':
+ if staging_temp != '/' and os.path.exists(staging_temp):
shutil.rmtree(staging_temp)
def cmd_show_dependencies(self, args):