Skip to content

Commit

Permalink
Workaround problem with lxcfs part 2
Browse files Browse the repository at this point in the history
Integrate pull request feedback
  • Loading branch information
bmiklautz committed Oct 28, 2015
1 parent 806585c commit 3fc142b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build-and-provide-package
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ PATH='/bin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin'
export QEMU_RESERVED_VA=0x0

get_uptime_seconds() {
grep \\. /proc/uptime > /dev/zero
grep -q '\\.' /proc/uptime
if [ $? -eq 0 ];then
echo `cut -d . -f 1 /proc/uptime`
echo $(cut -d . -f 1 /proc/uptime)
else
echo `cut -d" " -f 1 /proc/uptime`
echo $(cut -d" " -f 1 /proc/uptime)
fi
}

Expand Down

0 comments on commit 3fc142b

Please sign in to comment.