summaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index c8f6360..eb49e2b 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -80,7 +80,7 @@ activate_vgs
if [[ -f /etc/crypttab ]] && type -p cryptsetup >/dev/null; then
read_crypttab do_unlock
# Maybe someone has LVM on an encrypted block device
- (( $? )) && activate_vgs
+ activate_vgs
fi
# Check filesystems
@@ -139,7 +139,7 @@ stat_busy "Saving dmesg log"
(( $? == 0 )) && stat_done || stat_fail
if [[ -f /etc/adjtime ]]; then
- ( read ; read ; read ADJTIME) < /etc/adjtime
+ { read ; read ; read ADJTIME; } < /etc/adjtime
if [[ $ADJTIME == 'LOCAL' ]]; then
if [[ $HARDWARECLOCK == 'UTC' ]]; then