summaryrefslogtreecommitdiff
path: root/lib/shell
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/command-processor.rb2
-rw-r--r--lib/shell/system-command.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/shell/command-processor.rb b/lib/shell/command-processor.rb
index 8a9ab55e73..b2070db11b 100644
--- a/lib/shell/command-processor.rb
+++ b/lib/shell/command-processor.rb
@@ -121,7 +121,7 @@ class Shell
end
f
else
- f = File.open(path, mode, perm, &b)
+ File.open(path, mode, perm, &b)
end
end
end
diff --git a/lib/shell/system-command.rb b/lib/shell/system-command.rb
index 1a8bb1a90f..1fe37333d6 100644
--- a/lib/shell/system-command.rb
+++ b/lib/shell/system-command.rb
@@ -82,7 +82,6 @@ class Shell
def start_import
notify "Job(%id) start imp-pipe.", @shell.debug?
- rs = @shell.record_separator unless rs
_eop = true
Thread.start {
begin