diff options
-rw-r--r-- | guix/scripts/package.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/package.scm b/guix/scripts/package.scm index e68d0dd902..cd93cc3758 100644 --- a/guix/scripts/package.scm +++ b/guix/scripts/package.scm @@ -644,7 +644,7 @@ more information.~%")) (rtfm)))) ;; Bail out if it's not owned by the user. - (unless (= (stat:uid s) (getuid)) + (unless (or (not s) (= (stat:uid s) (getuid))) (format (current-error-port) (_ "error: directory `~a' is not owned by you~%") %profile-directory) |