src/strip.vala
authorAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2018 09:12:37 +0000 (17:12 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Jun 2018 09:12:37 +0000 (17:12 +0800)
src/strip.vala

index c8ebbd6..590bbb7 100644 (file)
@@ -608,7 +608,7 @@ public class Strip : GLib.Object {
                
                }
                if (!need_return) {
-                       return "";
+                       return got_row ? "" : ret;
                }
                if (!got_row) {
                         GLib.debug("ERROR : no rows returned");