From f622107592ef52b70a06e491c344aa0f12eba1e0 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 23 Jul 2015 21:44:04 +0200
Subject: degesch: fix regression in alias expansion
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/degesch.c b/degesch.c
index e528d5c..734f07e 100644
--- a/degesch.c
+++ b/degesch.c
@@ -8175,7 +8175,7 @@ expand_alias_definition (const struct str *definition, const char *arguments,
{
if (escape)
{
- p = expand_alias_escape (p, arguments, &expanded);
+ p = expand_alias_escape (p, arguments, &expanded) - 1;
escape = false;
}
else if (*p == ';')
--
cgit v1.2.3-70-g09d2