Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: chromeos-setimage

Issue 3466017: install: fix shell redirections (Closed) Base URL: ssh://git@chromiumos-git/installer.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos-recovery ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-setimage
diff --git a/chromeos-setimage b/chromeos-setimage
index fe422ca7f1fc3429f9a537beab75a8214ad1f6ce..b831a887305a0f4fbbab8e329749b2ed088043ed 100755
--- a/chromeos-setimage
+++ b/chromeos-setimage
@@ -35,8 +35,8 @@ fi
# We need to check that there is a root device,
# factory install runs from tmpfs and rootdev does not
# return a meaningful result in that case.
-if rootdev -s 2>&1 > /dev/null; then
- if type rootdev 2>&1 > /dev/null; then
+if rootdev -s > /dev/null 2>&1 ; then
+ if type rootdev > /dev/null 2>&1 ; then
# Enable verification, but don't force a check for dev builds.
if rootdev | grep -qE '^/dev/(dm-|mapper/)'; then
rootfs_verification_default=${FLAGS_TRUE}
« no previous file with comments | « chromeos-recovery ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698