Skip to content

Commit

Permalink
discard stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Sep 20, 2017
1 parent eff5332 commit 43c0e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/simple/files/etc/rc.local/CLOUD
@@ -1,7 +1,7 @@
#! /bin/bash

# regenerate ssh_host keys
ls /etc/ssh/ssh_host_* > /dev/null
ls /etc/ssh/ssh_host_* >/dev/null 2>&1
if [ $? -ne 0 ]; then
dpkg-reconfigure -fnoninteractive openssh-server
fi
Expand Down

0 comments on commit 43c0e82

Please sign in to comment.