Commit 0e749ae0 authored by Paul Cammish's avatar Paul Cammish
Browse files

Force backups to be run as root user, so we get all the files

parent 9d11fc4b
#!/bin/bash
if [ $EUID != 0 ]; then
echo "Sorry, backups must be run as root. Run \`sudo backup2l -b\` to take a backup."
exit 1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment