Skip to content

Commit ce2a501

Browse files
committed
Move set -x to shebang line
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 4a6c382 commit ce2a501

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

scripts/collect_heap_pprofs.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
# Copyright 2018- The Pixie Authors.
44
#
@@ -26,8 +26,6 @@ usage() {
2626
exit 1
2727
}
2828

29-
set -e
30-
3129
heap_profile_dir="$1"
3230
cluster_id="$2"
3331
script_dir=$(dirname "$(realpath "$0")")

scripts/download_heap_prof_mapped_files.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash -e
22

33
# Copyright 2018- The Pixie Authors.
44
#
@@ -23,7 +23,6 @@ usage() {
2323
echo "Common gcloud ssh options include --project."
2424
exit 1
2525
}
26-
set -e
2726

2827
heap_profile="$1"
2928
node_name="$2"

0 commit comments

Comments
 (0)