summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.savecore
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-12-21 14:36:56 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-12-21 14:38:32 -0600
commit3dc2d0f17790001c00ab846e844cd8cab4f5af53 (patch)
treede3e44c31397d2441c4d19df8c2e58dfbf5d609e /src/etc/rc.savecore
parenta038b8166a332579112f52639fd5ac03b5f76565 (diff)
downloadpfsense-3dc2d0f17790001c00ab846e844cd8cab4f5af53.zip
pfsense-3dc2d0f17790001c00ab846e844cd8cab4f5af53.tar.gz
Silence realpath errors when /dev/dumpdev does not exist.
Diffstat (limited to 'src/etc/rc.savecore')
-rwxr-xr-xsrc/etc/rc.savecore2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rc.savecore b/src/etc/rc.savecore
index bb0e1d5..a59612b 100755
--- a/src/etc/rc.savecore
+++ b/src/etc/rc.savecore
@@ -20,7 +20,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-dumpdev=`/bin/realpath /dev/dumpdev`
+dumpdev=`/bin/realpath -q /dev/dumpdev`
dumpdir='/var/crash'
if [ ! -c "${dumpdev}" ]; then
OpenPOWER on IntegriCloud