mirror of
https://github.com/opnsense/src.git
synced 2026-03-31 15:05:17 -04:00
This makes a difference if there is a command substitution. To make this work, evalstring() has been changed to set exitstatus to 0 if no command was executed (the string contained only whitespace). Example: eval $(false); echo $? should print 0.
4 lines
78 B
Text
4 lines
78 B
Text
# $FreeBSD$
|
|
|
|
# eval should return 0 if no command was executed.
|
|
eval $(false)
|