diff options
author | Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt> | 2017-06-10 03:12:49 +0100 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-06-12 10:44:27 -0500 |
commit | a511a48d77b1dcb8a3fb0dd1abddb750a152869b (patch) | |
tree | 00f0ea8cbc588e43578466a0e4fab66aad863204 /runlevels | |
parent | 1e5322e5c55ec744a2cdcc3342ef6547eab7c46f (diff) |
init.d/hostname: fix default parameter syntax
The syntax for expanding a variable with a default value is
${parameter:-word}
not
${parameter-word}
although the latter still works for a reason I could not explain.
This fixes #143.
Diffstat (limited to 'runlevels')
0 files changed, 0 insertions, 0 deletions