summaryrefslogtreecommitdiff
path: root/xbell.c
diff options
context:
space:
mode:
Diffstat (limited to 'xbell.c')
-rw-r--r--xbell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbell.c b/xbell.c
index c68814b..2d10d17 100644
--- a/xbell.c
+++ b/xbell.c
@@ -77,7 +77,7 @@ forkexecute()
t = strtok(NULL, " ");
z++;
}
- args[z+1] = (char *)0;
+ args[z] = (char *)0;
execvp(args[0], args);
_exit(1);
}