This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
st
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix style in execsh
master
Roberto E. Vargas Caballero
10 years ago
parent
d032b61597
commit
62756fdb49
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
st.c
+ 1
- 2
st.c
View File
@ -1329,9 +1329,8 @@ execsh(void)
die
(
"
who are you?
\n
"
)
;
}
if
(
!
(
sh
=
getenv
(
"
SHELL
"
)
)
)
{
if
(
(
sh
=
getenv
(
"
SHELL
"
)
)
=
=
NULL
)
sh
=
(
pw
-
>
pw_shell
[
0
]
)
?
pw
-
>
pw_shell
:
shell
;
}
if
(
opt_cmd
)
prog
=
opt_cmd
[
0
]
;
Write
Preview
Loading…
Cancel
Save