Skip to content

Commit

Permalink
tools/slabinfo-gnuplot: force to use bash shell
Browse files Browse the repository at this point in the history
On some linux distributions, the default link of sh is dash which
deoesn't support split array like "${var//,/ }"

It's better to force to use bash shell directly.

Link: http://lkml.kernel.org/r/20171208093751.GA175471@sofia
Signed-off-by: Liu Changcheng <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
LiucIntel authored and torvalds committed Dec 15, 2017
1 parent 689d77f commit 0b265c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/vm/slabinfo-gnuplot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Sergey Senozhatsky, 2015
# [email protected]
Expand Down

0 comments on commit 0b265c3

Please sign in to comment.