[PATCH] ecryptfs-setup-confidential: fix sudo/root error message

ecryptfs-setup-confidential needs to run as root, but sudo would be the
preferred way to do this.

Update the error message accordingly.

Signed-off-by: Dustin Kirkland <[EMAIL PROTECTED]>

--- ecryptfs-setup-confidential.orig2	2008-06-10 17:02:18.080253306 -0500
+++ ecryptfs-setup-confidential	2008-06-10 17:08:45.844138563 -0500
@@ -38,7 +38,7 @@ usage() {
 }
 
 if ! whoami | grep "^root$" >/dev/null ; then
-	echo "ERROR: Please run this script as root"
+	echo "ERROR: Please run this script as root (sudo $0)"
 	exit 1
 fi
 

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel

Reply via email to