summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwchang kim <wchang.kim@samsung.com>2016-07-06 11:04:49 +0900
committerwchang kim <wchang.kim@samsung.com>2016-07-06 11:04:49 +0900
commita5b2b9e0826f78c9aadc5572169e81cb7e683ccd (patch)
tree6814c227dfa012ca7021876c4f35a67ea98bde4d
parent5c851825b27703797bda2dfa292f568c0612a4e0 (diff)
downloadsystem-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.tar.gz
system-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.tar.bz2
system-plugin-a5b2b9e0826f78c9aadc5572169e81cb7e683ccd.zip
Set PATH in the script for security Change-Id: I22181ef5a11f467a8476bd8d57ef3928fb06be27 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
-rw-r--r--scripts/tizen-fstrim-on-charge.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/tizen-fstrim-on-charge.sh b/scripts/tizen-fstrim-on-charge.sh
index c08cd74..5d47fb4 100644
--- a/scripts/tizen-fstrim-on-charge.sh
+++ b/scripts/tizen-fstrim-on-charge.sh
@@ -1,5 +1,7 @@
#!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
if [ "$#" -ne 1 ];then
echo "Argument was missed."
exit 1