snapshot: require privilege escalation outside script when running locally
snapshot: require privilege escalation outside script when running locally

Due to the IO-stream nature of the data passing, it is unhelpful to be
prompted for a root password mid-execution. This commit removes the `sudo`
from the executed command and instead checks the current user. If it is
not "root", then exit with an error.

darrengarvey/procfs-snapshot,darrengarvey/procfs-snapshot