Revert "Use syscall.Unsetenv instead of os.Unsetenv"

This reverts commit c1150817c3.
This commit is contained in:
Cheer Xiao 2015-01-25 00:31:52 +01:00
parent c1150817c3
commit a953604bb9

View File

@ -4,7 +4,7 @@ package eval
import (
"fmt"
"syscall"
"os"
"github.com/elves/elvish/parse"
)
@ -261,7 +261,7 @@ func compileDel(cp *Compiler, fn *parse.FormNode) exitusOp {
}
for _, name := range envNames {
// TODO(xiaq): Signify possible error
syscall.Unsetenv(name)
os.Unsetenv(name)
}
return success
}