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

Unified Diff: chromeos-postinst

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 | « no previous file | chromeos-recovery » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-postinst
diff --git a/chromeos-postinst b/chromeos-postinst
index 4ac72b932907b8a33691a01f3020b02cd94b2c49..92384fbc21efb548080968d48f1755236a636d80 100755
--- a/chromeos-postinst
+++ b/chromeos-postinst
@@ -72,7 +72,7 @@ if [ "${FLAGS_postcommit}" -eq "${FLAGS_FALSE}" ]; then
# If this FS was mounted read-write, we can't do deltas from it. Mark the
# FS as such
- touch "${INSTALL_ROOT}/.nodelta" || true 2>&1 > /dev/null
+ (touch "${INSTALL_ROOT}/.nodelta" || true) > /dev/null 2>&1
# TODO(zelidrag): http://crosbug/6367 - Remove this before the product is
# released. For now, this should recover users that reimaged their machine.
« no previous file with comments | « no previous file | chromeos-recovery » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698