guix gc: '-d' does not attempt to delete non-user-owned roots.
authorLudovic Courtès <ludo@gnu.org>
Thu, 11 Apr 2019 14:55:13 +0000 (16:55 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 11 Apr 2019 16:18:13 +0000 (18:18 +0200)
commitc1df77e215b6e69dccbe781307836a3b962c5968
tree7045054e33e28b3525b230974b56dd8ba914a538
parentc2f6f4e50074ac12fa3bee51d793eeaadce99f55
guix gc: '-d' does not attempt to delete non-user-owned roots.

* guix/scripts/gc.scm (guix-gc)[delete-generations]: Limit to user-owned
roots, unless we're running as root.
guix/scripts/gc.scm