diff --git a/nix/scripts/list-runtime-roots.in b/nix/scripts/list-runtime-roots.in index 511789a539..48a07edf5f 100644 --- a/nix/scripts/list-runtime-roots.in +++ b/nix/scripts/list-runtime-roots.in @@ -121,6 +121,7 @@ or the empty list." (lambda args (let ((err (system-error-errno args))) (if (or (= ENOENT err) ;TOCTTOU race + (= ESRCH err) ;ditto (= EACCES err)) ;not running as root '() (apply throw args)))))))