Skip to content

Commit

Permalink
Clean error msg a tiny bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
massgov-outsider committed Dec 16, 2010
1 parent dc6f71f commit c1330c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drush.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,10 @@ function drush_drupal_login($drush_user) {

if (empty($user)) {
if (is_numeric($drush_user)) {
$message = dt('Could not login with user ID #%user.', array('%user' => $drush_user));
$message = dt('Could not login with user ID #!user.', array('!user' => $drush_user));
}
else {
$message = dt('Could not login with user account `%user\'.', array('%user' => $drush_user));
$message = dt('Could not login with user account `!user\'.', array('!user' => $drush_user));
}
return drush_set_error('DRUPAL_USER_LOGIN_FAILED', $message);
}
Expand Down

0 comments on commit c1330c0

Please sign in to comment.