View | Details | Raw Unified | Return to bug 2922 | Differences between
and this patch

Collapse All | Expand All

(-)ssh-host-config.orig (-1 / +1 lines)
Lines 307-313 Link Here
307
307
308
  if [ -z "${run_service_as}" ]
308
  if [ -z "${run_service_as}" ]
309
  then
309
  then
310
    accnt_name=$(/usr/bin/cygrunsrv -VQ sshd |
310
    accnt_name=$(/usr/bin/cygrunsrv -VQ "${service_name}" |
311
    		 /usr/bin/sed -ne 's/^Account *: *//gp')
311
    		 /usr/bin/sed -ne 's/^Account *: *//gp')
312
    if [ "${accnt_name}" = "LocalSystem" ]
312
    if [ "${accnt_name}" = "LocalSystem" ]
313
    then
313
    then

Return to bug 2922