Permalink
Browse files

Fix msfencode -l, thanks _sinn3r

git-svn-id: file:///home/svn/framework3/trunk@7218 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information...
1 parent 00b2915 commit 0fff5e5bc83ceb8c11b7edd5e93ba232ef34f7c1 HD Moore committed Oct 20, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 msfencode
View
@@ -138,7 +138,7 @@ $args.parse(ARGV) { |opt, idx, val|
}
-if(not fmt)
+if(not fmt and output)
pre,ext = output.split('.')
if(ext and not ext.empty?)
fmt = ext

0 comments on commit 0fff5e5

Please sign in to comment.