View | Details | Raw Unified | Return to bug 196514
Collapse All | Expand All

(-)user.subr (-3 / +3 lines)
Lines 233-239 Link Here
233
	# instead of name. Work-around is to also pass `-u UID' at the same
233
	# instead of name. Work-around is to also pass `-u UID' at the same
234
	# time (any UID will do; but `-1' is appropriate for this context).
234
	# time (any UID will do; but `-1' is appropriate for this context).
235
	#
235
	#
236
	if [ "$input" ] && f_quietly pw usershow -n "$input" -u -1; then
236
	if [ "$input" ] && f_quietly pw usershow -n "$input"; then
237
		f_show_err "$msg_login_already_used" "$input"
237
		f_show_err "$msg_login_already_used" "$input"
238
		return $FAILURE
238
		return $FAILURE
239
	fi
239
	fi
Lines 414-420 Link Here
414
			1) # Login (prompt for new login name)
414
			1) # Login (prompt for new login name)
415
			   f_dialog_input_name input "$user_name" ||
415
			   f_dialog_input_name input "$user_name" ||
416
			   	continue
416
			   	continue
417
			   if f_quietly pw usershow -n "$input" -u -1; then
417
			   if f_quietly pw usershow -n "$input"; then
418
			   	f_show_err "$msg_login_already_used" "$input"
418
			   	f_show_err "$msg_login_already_used" "$input"
419
			   	continue
419
			   	continue
420
			   fi
420
			   fi
Lines 923-929 Link Here
923
	# instead of name. Work-around is to also pass `-u UID' at the same
923
	# instead of name. Work-around is to also pass `-u UID' at the same
924
	# time (any UID will do; but `-1' is appropriate for this context).
924
	# time (any UID will do; but `-1' is appropriate for this context).
925
	#
925
	#
926
	if [ "$input" ] && ! f_quietly pw usershow -n "$input" -u -1; then
926
	if [ "$input" ] && ! f_quietly pw usershow -n "$input"; then
927
		f_show_err "$msg_login_not_found" "$input"
927
		f_show_err "$msg_login_not_found" "$input"
928
		return $FAILURE
928
		return $FAILURE
929
	fi
929
	fi

Return to bug 196514