summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index 09e37ae..445f0c3 100644
--- a/src/users.c
+++ b/src/users.c
@@ -187,7 +187,8 @@ int com_passwd( char *arg )
if( !strncmp( user_role, ROLE_ADMIN, sizeof( ROLE_ADMIN ) ) )
sprintf( syscom, "passwd %s", opt_name );
else
- sprintf( syscom, "echo \"Only users with role='%s' can change other user's password\"", ROLE_ADMIN );
+ sprintf( syscom, "echo \"%s: Only users with role='%s' can change other user's password.\"",
+ "passwd", ROLE_ADMIN );
}
return( system( syscom ) );