build: container: Make 'unprivileged-user-namespace-supported?' more robust.
authorMark H Weaver <mhw@netris.org>
Sat, 23 Jan 2016 23:40:33 +0000 (18:40 -0500)
committerMark H Weaver <mhw@netris.org>
Sat, 23 Jan 2016 23:44:03 +0000 (18:44 -0500)
commitc5184468f5ee9d41ac5a49126d9017b635c80288
treef01bf706c99a6d6f47c0d9d70d7318c86c46db3d
parentfe17fb4a2c897fd9186f91887f5af63dd00d227a
build: container: Make 'unprivileged-user-namespace-supported?' more robust.

* gnu/build/linux-container.scm (unprivileged-user-namespace-supported?): Only
  read and check the first character, to cope with a possible newline in the
  (pseudo-)file.
gnu/build/linux-container.scm