//! "Are you root?" helper that returns a useful error when called
//! from a user shell.
//!
//! The common failure mode is `cargo install linprov` (which lands
//! the binary at `~/.cargo/bin/linprov`) followed by `sudo linprov
//! setup` — sudo strips `PATH` so it can't find the binary. Instead
//! of a confusing `command not found` or EACCES on `/etc/linprov/`,
//! we surface the absolute path of the running binary and the
//! literal command to copy-paste.
use env;
use ;