mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
forgotten putenv
This commit is contained in:
parent
8e1bd4a05b
commit
6a60c821a8
@ -4,10 +4,8 @@
|
|||||||
* Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
* Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||||
* 2003, 2004, 2005 by Theodore Ts'o.
|
* 2003, 2004, 2005 by Theodore Ts'o.
|
||||||
*
|
*
|
||||||
* %Begin-Header%
|
|
||||||
* This file may be redistributed under the terms of the GNU Public
|
* This file may be redistributed under the terms of the GNU Public
|
||||||
* License.
|
* License.
|
||||||
* %End-Header%
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Usage: mke2fs [options] device
|
/* Usage: mke2fs [options] device
|
||||||
@ -799,6 +797,7 @@ static int PRS(int argc, char *argv[])
|
|||||||
char *newpath;
|
char *newpath;
|
||||||
|
|
||||||
bb_xasprintf(&newpath, "%s:%s", PATH_SET, oldpath);
|
bb_xasprintf(&newpath, "%s:%s", PATH_SET, oldpath);
|
||||||
|
putenv(newpath);
|
||||||
} else
|
} else
|
||||||
putenv (PATH_SET);
|
putenv (PATH_SET);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user