initiscript: localization of insufficient privilege error
This commit is contained in:
parent
1f60e8f952
commit
572c9d6d16
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ lockfile=/var/lock/subsys/$prog
|
|||
|
||||
start () {
|
||||
if [ $UID -ne 0 ] ; then
|
||||
echo "User had insufficient privilege."
|
||||
echo $"User has insufficient privilege."
|
||||
exit 4
|
||||
fi
|
||||
[ -x $exec ] || exit 5
|
||||
|
|
@ -45,7 +45,7 @@ start () {
|
|||
|
||||
stop () {
|
||||
if [ $UID -ne 0 ] ; then
|
||||
echo "User had insufficient privilege."
|
||||
echo $"User has insufficient privilege."
|
||||
exit 4
|
||||
fi
|
||||
echo -n $"Stopping $prog: "
|
||||
|
|
|
|||
Loading…
Reference in a new issue