mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
fixup ssh: don't write to stdout
This commit is contained in:
parent
06d245c0af
commit
5ea968caac
1 changed files with 3 additions and 0 deletions
|
|
@ -103,6 +103,9 @@ in {
|
|||
path = [ cfg.package ];
|
||||
autoRestart = true;
|
||||
script = ''
|
||||
# don't write to stdout
|
||||
exec >&2
|
||||
|
||||
${lib.flip lib.concatMapStrings cfg.hostKeys (k: ''
|
||||
if ! [ -s "${k.path}" ]; then
|
||||
if ! [ -h "${k.path}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue