config_hostname: fix syntax error and wrong eend call
authorMichael Prokop <mika@grml.org>
Mon, 2 Jul 2012 12:24:37 +0000 (14:24 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 2 Jul 2012 12:24:37 +0000 (14:24 +0200)
autoconfig.functions

index 89616dc..441411f 100755 (executable)
@@ -384,9 +384,8 @@ config_hostname(){
   fi
 
   einfo "Setting hostname to $HOSTNAME as requested."
   fi
 
   einfo "Setting hostname to $HOSTNAME as requested."
-  grml-hostname $HOSTNAME >>$DEBUG ; eend $RC
-  eend $RC
-fi
+  grml-hostname $HOSTNAME >>$DEBUG
+  eend $?
 }
 # }}}
 
 }
 # }}}