diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-04-22 22:41:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-04-23 00:32:30 +0200 |
commit | 09ce4568f2cc1f87c5a5e0aa1643780c39a73088 (patch) | |
tree | f787b824f597fbbc44220009b6ddf03a30581aea /gnu/services | |
parent | 34db952a4b655cca9d5dc7158e9a8552d389cbcf (diff) | |
download | guix-09ce4568f2cc1f87c5a5e0aa1643780c39a73088.tar.gz guix-09ce4568f2cc1f87c5a5e0aa1643780c39a73088.zip |
file-systems: read-partition-{uuid,label} don't swallow ENOENT & co.
Previously, (read-partition-uuid "/does/not/exist") would return #f.
With this change, a 'system-error exception is raised as expected.
* gnu/build/file-systems.scm (ENOENT-safe): Clarify docstring.
(partition-field-reader): Remove use of 'ENOENT-safe'.
(partition-predicate): Wrap READER in 'ENOENT-safe'.
Diffstat (limited to 'gnu/services')
0 files changed, 0 insertions, 0 deletions