Changeset 4795 in /cluster/svnroot


Ignore:
Timestamp:
Jul 8, 2014 10:27:26 PM (6 years ago)
Author:
skylar
Message:

pass empty string properly (#858)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0/packages/liberate.pl

    r4794 r4795  
    586586        "$LIBDIR/root/.ssh/id_dsa",
    587587        '-N',
     588        # Don't use '' - this gets passed through as a string-literal when
     589        # we want an empty string
    588590        q{},
    589591    ],
     
    630632        "Generated passwordless user ssh keys in $NEWHOME/$USER/.ssh/.",
    631633        [
    632             '/usr/bin/strace','-fo','/var/tmp/ssh-keygen.trace',
    633634            '/usr/bin/ssh-keygen',
    634635            '-t',
    635636            'dsa',
    636             '-q',
    637637            '-f',
    638638            "$NEWHOME/$USER/.ssh/id_dsa",
    639639            '-N',
    640             q{''},
     640            # Don't use '' - this gets passed through as a string-literal when
     641            # we want an empty string
     642            q{},
    641643        ],
    642644    );
Note: See TracChangeset for help on using the changeset viewer.