Commits

Anonymous committed 3011ad1

cleaning

Comments (0)

Files changed (1)

-if [ "$PS1" ] ; then
-mkdir -p -m 0700 /dev/cgroup/cpu/user/$$ > /dev/null 2>&1
-echo $$ > /dev/cgroup/cpu/user/$$/tasks
-echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
+if [ "$PS1" ] ; then  
+   mkdir -m 0700 /dev/cgroup/cpu/user/$$
+   echo $$ > /dev/cgroup/cpu/user/$$/tasks
+   echo "1" > /dev/cgroup/cpu/user/$$/notify_on_release
 fi
 
-
 # set PATH so it includes user's private bin if it exists
 if [ -d "$HOME/bin" ] ; then
     PATH="$HOME/bin:$PATH"