Commit e64714f6 authored by Jérome Perrin's avatar Jérome Perrin

slapos node prune: check running as root according to config

When config specifies root_check=true, check that user is root instead
of probably failing with error messages because some permissions would
be refused.
parent 7049d6c8
Pipeline #12381 failed with stage
in 0 seconds