mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-16 08:21:20 -04:00
tokenize: make error message clearer
This commit is contained in:
parent
2992892b9b
commit
b7fc8e667a
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ tokenize_cmdline(const char *cmdline, char ***argv)
|
|||
if (**argv && (**argv)[0] == '~' && (**argv)[1] == '/') {
|
||||
const char *homedir = getenv("HOME");
|
||||
if (homedir == NULL) {
|
||||
LOG_ERR("failed to expand '~': HOME not set");
|
||||
LOG_ERR("failed to expand '~/': HOME not set");
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue