git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "fish: Add 'please wait' message when launching (and interactive)."
[libguestfs.git]
/
fish
/
tilde.c
diff --git
a/fish/tilde.c
b/fish/tilde.c
index
64b5b39
..
c599e16
100644
(file)
--- a/
fish/tilde.c
+++ b/
fish/tilde.c
@@
-62,7
+62,7
@@
try_tilde_expansion (char *str)
str = malloc (len);
if (str == NULL) {
perror ("malloc");
- exit (
1
);
+ exit (
EXIT_FAILURE
);
}
strcpy (str, home);
strcat (str, rest);
@@
-89,7
+89,7
@@
expand_home (const char *append)
str = malloc (len);
if (str == NULL) {
perror ("malloc");
- exit (
1
);
+ exit (
EXIT_FAILURE
);
}
strcpy (str, home);