Remove unnecessary privilege escalation in gasutc.
This commit is contained in:
parent
a9279177b3
commit
c87db84690
2
gasutc
2
gasutc
@ -33,6 +33,6 @@ printf "The current time is as follows.\nYear: $year\nMonth: $month\nDay: $day\n
|
|||||||
time=`echo $time | cut -b 1,2,3,4`
|
time=`echo $time | cut -b 1,2,3,4`
|
||||||
year=`echo $year | cut -b 3,4`
|
year=`echo $year | cut -b 3,4`
|
||||||
printf "Your date-compatible string for today is: $month$day$time$year\nHere it is again, on its own line:\n$month$day$time$year\n"
|
printf "Your date-compatible string for today is: $month$day$time$year\nHere it is again, on its own line:\n$month$day$time$year\n"
|
||||||
/bin/ssu -- date -u $month$day$time$year
|
date -u $month$day$time$year
|
||||||
rm /tmp/date.jnk
|
rm /tmp/date.jnk
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user