Remove unnecessary double-shell.
Default shell for ChromeOS test image is bash. The line in question causes an extra instance of bash to be spawned.
Removing the line fixes the shell-init errors.
Change-Id: Icea100dc3c4f5dbf12f2185213a64afe528cacbf
BUG=chromium-os:9425
TEST=Ran in production. Errors disappeared.
Review URL: http://codereview.chromium.org/5515009
diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py
index 47f3cb4..a6fa61d 100644
--- a/client/common_lib/utils.py
+++ b/client/common_lib/utils.py
@@ -75,7 +75,12 @@
self.sp = subprocess.Popen(command, stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
preexec_fn=self._reset_sigpipe, shell=True,
- executable="/bin/bash",
+
+ # Default shell in ChromeOS test image is
+ # already bash. We're seeing shell-init
+ # errors if this value is set.
+
+ #executable="/bin/bash",
stdin=stdin)