aboutsummaryrefslogtreecommitdiff
path: root/emar
diff options
context:
space:
mode:
Diffstat (limited to 'emar')
-rwxr-xr-xemar3
1 files changed, 2 insertions, 1 deletions
diff --git a/emar b/emar
index 5a627993..312bd4a4 100755
--- a/emar
+++ b/emar
@@ -17,5 +17,6 @@ newargs = [shared.EMLD] + sys.argv[3:] + ['-o='+sys.argv[2]]
if DEBUG:
print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs
-os.execvp(shared.EMLD, newargs)
+if len(newargs) > 2:
+ os.execvp(shared.EMLD, newargs)