summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRémy Oudompheng <remy@archlinux.org>2011-05-26 23:20:43 +0200
committerRémy Oudompheng <remy@archlinux.org>2011-05-26 23:20:43 +0200
commit267d988ef6b6c839ecb837e350ce2861fc454dfd (patch)
tree9daaee4fa6fe6ef539bcd69a12675c8e0d3728fb /src
parent6698e6b73561a8e2d02895c6ee4ea0bcf0d3b582 (diff)
downloadnetctl-267d988ef6b6c839ecb837e350ce2861fc454dfd.tar.gz
netctl-267d988ef6b6c839ecb837e350ce2861fc454dfd.tar.xz
Remove /var/run/* from package and make sure the directory is created.
Diffstat (limited to 'src')
-rw-r--r--src/netcfg-menu2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/netcfg-menu b/src/netcfg-menu
index 872d904..ff57005 100644
--- a/src/netcfg-menu
+++ b/src/netcfg-menu
@@ -7,6 +7,8 @@ if [[ ! -x /usr/bin/dialog ]]; then
exit 1
fi
+check_make_state_dir
+
# JP: we'll use $STATE_DIR/menu to record what profile is being connected in this way
rm -f "$STATE_DIR/menu"