projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
21055: Don't exit when failing to set inotify.max_user_watches.
[arvados.git]
/
lib
/
install
/
deps.go
diff --git
a/lib/install/deps.go
b/lib/install/deps.go
index 263f0180976c4e55d05f1f6f992cb84d4d556d41..076a4e2b6a172f42bbf2063626a39a86c49195c8 100644
(file)
--- a/
lib/install/deps.go
+++ b/
lib/install/deps.go
@@
-268,7
+268,9
@@
if ! grep -F -- "$add" /etc/sysctl.conf; then
fi
`, stdout, stderr)
if err != nil {
- return 1
+ // Just warn instead of fail because this is expected when running
+ // inside Docker.
+ logger.Warnf("couldn't set fs.inotify.max_user_watches value: %w", err)
}
}