Changeset 1997


Ignore:
Timestamp:
04/27/17 13:55:23 (7 years ago)
Author:
nanardon
Message:

Fix la-passwd when input is STDIN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-passwd

    r1935 r1997  
    112112    my $handle; 
    113113    if ($input eq '-') { 
    114         $input = \*STDIN; 
     114        $handle = \*STDIN; 
    115115    } else { 
    116116        open($handle, '<', $input) or die "Cannot open $input: $!\n"; 
Note: See TracChangeset for help on using the changeset viewer.