summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/strings.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-09-21 19:03:25 +0000
committerdteske <dteske@FreeBSD.org>2012-09-21 19:03:25 +0000
commit5bd90f70aeb197b19ce714af4c1a59070b9dc689 (patch)
treed041ecdde663dcb11b07368b0990746b6b9decd7 /usr.sbin/bsdconfig/share/strings.subr
parentbe9906f96c7ede292408ef02eae1e83ce8646c13 (diff)
downloadFreeBSD-src-5bd90f70aeb197b19ce714af4c1a59070b9dc689.zip
FreeBSD-src-5bd90f70aeb197b19ce714af4c1a59070b9dc689.tar.gz
Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign
our embedded rescue environment to support /dev/null making r240770 obsolete. Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor)
Diffstat (limited to 'usr.sbin/bsdconfig/share/strings.subr')
-rw-r--r--usr.sbin/bsdconfig/share/strings.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/strings.subr b/usr.sbin/bsdconfig/share/strings.subr
index fac55fe..1a330ad 100644
--- a/usr.sbin/bsdconfig/share/strings.subr
+++ b/usr.sbin/bsdconfig/share/strings.subr
@@ -98,7 +98,7 @@ f_isinteger()
# Attempt to perform arithmetic divison (an operation which will exit
# with error unless arg is a valid positive/negative whole integer).
#
- ( : $((0/$arg)) ) >&- 2>&-
+ ( : $((0/$arg)) ) > /dev/null 2>&1
}
fi # ! $_STRINGS_SUBR
OpenPOWER on IntegriCloud