summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ivy.c b/src/ivy.c
index 4a68811..ad752a6 100644
--- a/src/ivy.c
+++ b/src/ivy.c
@@ -591,9 +591,9 @@ void IvyStart (const char* bus)
*/
/* first, let's find something to parse */
- if (!p)
+ if (!p || !*p)
p = getenv ("IVYBUS");
- if (!p)
+ if (!p || !*p)
p = DefaultIvyBus;
/* then, let's get a port number */