summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2019-03-27 09:40:55 +1030
committerDaniel Jones <admin@danieljon.es>2019-03-27 09:40:55 +1030
commit921499d8e84b2897a7873dba61047356979e9aa9 (patch)
tree6bf52577dc71e662868aec0b9ad1dc366716f93b
parent3d12855f7499d74a551c3c4b27c396058dc37bb8 (diff)
downloadxbell-master.tar.gz
xbell-master.zip
removed unncessary addition in forkexecute()HEADmaster
-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);
}