Skip to content

Commit 286db24

Browse files
committed
fix errors
1 parent 5e59a19 commit 286db24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/linux_performance_setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ apt-get install -y vim htop strace linux-tools-common linux-tools-generic libc6-
2020

2121
echo 0 > /proc/sys/kernel/kptr_restrict
2222

23-
pushd /usr/bin || exit -1
23+
pushd /usr/bin || exit 1
2424
rm -rf perf
2525
ln -s /usr/lib/linux-tools/*/perf perf
26-
popd || exit -1
26+
popd || exit 1
2727

28-
pushd /opt || exit -1
28+
pushd /opt || exit 1
2929
git clone https://github.com/brendangregg/FlameGraph.git
30-
popd || exit -1
30+
popd || exit 1
3131

3232
# build the code in relase mode with debug symbols
3333
# swift build -c release -Xswiftc -g

0 commit comments

Comments
 (0)