diff options
author | Timo Wilken | 2024-02-11 22:55:19 +0100 |
---|---|---|
committer | Timo Wilken | 2024-02-11 22:55:19 +0100 |
commit | c425e19ddf8e144ecc9eda1f534c7bf984c17958 (patch) | |
tree | af7ecfb917317ea673fec098f3ee226cc39a5d46 | |
parent | 96d6e05653b99c9958fe9ff1c2b8a48237d25ea5 (diff) |
Fix execl/execlp usage
`execlp' does not allow omitting argv[0], so there's no point to using it --
we always have the full binary path anyway.
-rw-r--r-- | tw/system/vin.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tw/system/vin.scm b/tw/system/vin.scm index e38f545a..71d85d9b 100644 --- a/tw/system/vin.scm +++ b/tw/system/vin.scm @@ -243,7 +243,8 @@ #$(program-file "ledgerplot-exchange-rates-command" #~(begin (setenv "LEDGER_FILE" "/home/timo/sync/ledger/ledger.journal") - (execlp #$(file-append ledgerplot "/bin/ledgerplot") "-em"))) + (execl #$(file-append ledgerplot "/bin/ledgerplot") + "ledgerplot" "-em"))) #:user "timo"))) (service unattended-upgrade-service-type |