projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193ec74
)
Fix reboot check.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 28 Sep 2011 14:47:38 +0000
(16:47 +0200)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Wed, 28 Sep 2011 14:47:38 +0000
(16:47 +0200)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
28d229a
..
be41f84
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-580,7
+580,7
@@
reboot_required () {
if [ ! -e "$default_kernel" ]; then
# /boot prefix might be missing
- default_kernel="/boot/$default_kernel"
+ default_kernel="/boot/${default_kernel#/}"
if [ ! -e "$default_kernel" ]; then
log "Default kernel image doesn't exist!?"
return 1