[Pkg-xen-changes] r407 - trunk/xen-common/debian

Ralph Passgang tha-guest at alioth.debian.org
Sat Jul 21 14:48:09 UTC 2007


Author: tha-guest
Date: Sat Jul 21 14:48:09 2007
New Revision: 407

Log:
changed "tail +2" to "tail -n +2", because the other format is deprecated


Modified:
   trunk/xen-common/debian/xen-utils-common.xendomains.init

Modified: trunk/xen-common/debian/xen-utils-common.xendomains.init
==============================================================================
--- trunk/xen-common/debian/xen-utils-common.xendomains.init	(original)
+++ trunk/xen-common/debian/xen-utils-common.xendomains.init	Sat Jul 21 14:48:09 2007
@@ -146,7 +146,7 @@
 		RC=0
 		;;
 	esac
-    done < <(xm list | tail +2)
+    done < <(xm list | tail -n +2)
     return $RC
 }
 
@@ -212,7 +212,7 @@
 	if test "$state" != "-b---d" -a "$state" != "-----d"; then
 	    return 1;
 	fi
-    done < <(xm list | tail +2)
+    done < <(xm list | tail -n +2)
     return 0
 }
 
@@ -323,7 +323,7 @@
 	    fi
 	    kill $WDOG_PIG >/dev/null 2>&1
 	fi
-    done < <(xm list | tail +2)
+    done < <(xm list | tail -n +2)
 
     # NB. this shuts down ALL Xen domains (politely), not just the ones in
     # AUTODIR/*
@@ -356,7 +356,7 @@
 		return 0
 		;;
 	esac
-    done < <(xm list | tail +2)
+    done < <(xm list | tail -n +2)
     return 1
 }
 



More information about the Pkg-xen-changes mailing list