summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2018-03-16 20:20:46 +0000
committerToby Goodwin <toby@paccrat.org>2018-03-16 20:20:46 +0000
commitbc84292076945924cd9b006c061ae04d79f4209f (patch)
treec2a0b1e405540b8ffc8267c1326da39d350b68f1 /main.c
parenta32879322714f53ec044dabe4d20c44cb85be116 (diff)
starting to work
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9743a2c..9798d9c 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,7 @@
bool dashdee, dashee, dashvee, dashex, dasheye,
dashen, dashpee, interactive;
+char *dashsee[2];
pid_t rc_pid;
static bool dashEYE, dashell, dashoh, dashess;
@@ -16,7 +17,7 @@ static void assigndefault(char *,...);
static void checkfd(int, enum redirtype);
extern int main(int argc, char *argv[], char *envp[]) {
- char *dashsee[2], *dollarzero, *null[1];
+ char *dollarzero, *null[1];
int c;
initprint();
dashsee[0] = dashsee[1] = NULL;