summaryrefslogtreecommitdiffstats
path: root/vespabase/src
diff options
context:
space:
mode:
authorVegard Sjonfjell <vegard@yahoo-inc.com>2016-06-22 12:54:01 +0200
committerVegard Sjonfjell <vegard@yahoo-inc.com>2016-06-22 12:54:01 +0200
commit18e9c0abd8c83315a2f2ad9b3c215a9b272bbade (patch)
tree37a684691be23f5dfb5b4681fd97d4bbce952834 /vespabase/src
parentbdcf10070cfcfa61d826d8eb3bda398cbfa10427 (diff)
Remove vespa-core-dumper from yahoo/vespa
Diffstat (limited to 'vespabase/src')
-rwxr-xr-xvespabase/src/vespa-core-dumper.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/vespabase/src/vespa-core-dumper.sh b/vespabase/src/vespa-core-dumper.sh
deleted file mode 100755
index 5f9baadf4fc..00000000000
--- a/vespabase/src/vespa-core-dumper.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
-log_message () {
- echo "warning $*" | logger -t vespa-core-dumper
-}
-
-compressor=$1
-corefile=$2
-option=$3
-
-log_message "Starting $compressor > $corefile"
-
-
-if [ -f "$corefile" ]
-then
- if [ "$option" != "overwrite" ]
- then
- log_message "$corefile is read-only. Core is not dumped."
- exit 1
- else
- log_message "Overwriting $corefile"
- fi
-fi
-
-$compressor > $corefile
-chmod 444 $corefile
-log_message "Finished $compressor > $corefile"